activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ActiveMQ2011User <nils.thi...@unister.de>
Subject Re: Unpredictable behavior of the ActieMQ broker if the prefetch size is changed
Date Thu, 10 Feb 2011 06:02:14 GMT

Thank you for your answer. This would be explained why consumers didn't get a
message when all messages are prefetched by other consumers.

Suppose we have 21.000 messages. The prefect limit is set to 1000 (default
value). One consumer consumes some of the messages. Then it stops and leaves
the connection open. So in this case there are for example 20.000 messages
that aren't prefetched. If I understand you correctly other consumer can
consume these messages. But we have the phenomenon that this is not the
case. The other consumers hangs. But if we decrease the prefetch limit to
for example 50 other consumers can consume messages. If we set it to 800
other consumers can consume some of the messages but blocks at any time :-(.
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Unpredictable-behavior-of-the-ActieMQ-broker-if-the-prefetch-size-is-changed-tp3297083p3298622.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message