activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Throttling mechanism/parameter on a broker
Date Fri, 30 Jul 2010 07:40:55 GMT

you can always use small prefetch limit
( to
throttle IO. You can also use synchronous consumers (via receive()
calls) to get the next message exactly when you want it.

Dejan Bosanac -

Open Source Integration -
ActiveMQ in Action -
Blog -

On Thu, Jul 29, 2010 at 7:09 PM, Jai_M <> wrote:
> We are planning a setup where there are network of brokers. The managing
> application has a broker and the managed entities all have one broker. All
> the managed entities pump messages on a queue.
> In this scenario when the application goes down for sometime and resumes it
> will have a lot of messages to consume from all the managed entities.
> My questions is, is there a setting/parameter to specify on the managed
> broker so that it throttles the messages to be sent at a given rate or pump
> only x number of messages per minute ? The idea is not to choke the CPU, I/O
> usage of the managed entities when they attempt to pump all the queued
> messages.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message