Hi,
ActiveMQ has a flow control mechanism that will stop a producer from
posting messages when this memory limit is reached (ie. slow consumer) and
will allow posting again once messages are taken out from memory . By
default, Activemq set the memory limit of the broker to 20MB.
If you want to increase this limit, add the ff. on the config file of your
broker:
<memoryManager>
<usageManager limit="1000000000"/> <!-- size in bytes -->
</memoryManager>
btw, this should only be applicable when using non-durable queues as
durable queues will just keep on sending messages and fill up the queue
until you run out of disk space
Regards,
Jonas
----- Original Message -----
From: "kj1003" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 02, 2006 11:38 PM
Subject: Flow control
Hi,
Does Active MQ implements any flow control mechanism in case of slow
consumers?
Thanks.
--
View this message in context:
http://www.nabble.com/Flow-control-t1539523.html#a4182436
Sent from the ActiveMQ - User forum at Nabble.com.