In ActiveMQ 4, all in transit messages are held in memory. If you have a slow consumer, to avoid exausting the JVM memory and getting an out of memory error, ActiveMQ has a configurable limit of how many in transit messages it will hold. Once it is reached, producers will be slowed down / blocked.
On Dec 14, 2007 6:43 AM, bill richard <[EMAIL PROTECTED]> wrote: > > in what kinds of situation,producer's send() will block? > when AMQ's cache is full? > -- > View this message in context: > http://www.nabble.com/in-what-kinds-of-situation%2Cproducer%27s-send%28%29-will-block--tp14334387s2354p14334387.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com