You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jaguarg <fo...@gmail.com> on 2010/02/04 19:08:01 UTC

Ajax consumers Throttling

hi, 

Is there a way to throttle the rate of notifications sent to ajax client? I
would like to limit the number of update per seconds sent these clients for
a given topic.

thanks

--
jaguarg
-- 
View this message in context: http://old.nabble.com/Ajax-consumers-Throttling-tp27457177p27457177.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Ajax consumers Throttling

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

we don't have that implemented at the moment. You can raise a Jira for it
and ideally provide a patch. It shouldn't be hard to implement. Take a look
at

MessageListenerServlet.doMessages()

http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java?r=HEAD

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Feb 4, 2010 at 7:08 PM, jaguarg <fo...@gmail.com> wrote:

>
> hi,
>
> Is there a way to throttle the rate of notifications sent to ajax client? I
> would like to limit the number of update per seconds sent these clients for
> a given topic.
>
> thanks
>
> --
> jaguarg
> --
> View this message in context:
> http://old.nabble.com/Ajax-consumers-Throttling-tp27457177p27457177.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>