activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romanhawk <>
Subject Re: Re:Proper handling of disconnected consumers - best approach
Date Fri, 09 Dec 2011 09:04:28 GMT
I've created pretty simple producers/Consumers with AUTO_ACK mode.

Setting prefetch to 0 made the system work as I expected. Maximum 1 message
was stuck for some time unless connection was declared "dead". At that
moment the message was handled by another alive consumer.

Thanks for support, apparently prefetch size should be decreased to make
consumers "pull" for messages. Otherwise dead consumer will "eat" messages
until it would be declared "dead" (depends on timeout).

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message