On 11/29/06, ewood <[EMAIL PROTECTED]> wrote:
I am running AMQ v4.1 with a network of embedded brokers (2). My question is what happens when the prefetch limit is reached?
No more messages are dispatched to the consumer
Will subsequent calls to send fail in some way?
No. For non-persistent messaging send can sometimes block if the broker is out of RAM (though there are options to deal with that)... http://incubator.apache.org/activemq/slow-consumer-handling.html also spooling to disk is coming in 4.2 etc.
More importantly, can I detect when the prefetch limit has been reached from my client?
You can look at the MBeans http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/broker/jmx/SubscriptionViewMBean.html -- James ------- http://radio.weblogs.com/0112098/
