activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Prefetch limit and queue size
Date Thu, 30 Nov 2006 14:38:56 GMT
On 11/29/06, ewood <wood@ship.saic.com> 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/

Mime
View raw message