activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: Consumer wait for next batched messages for several seconds?
Date Thu, 01 Sep 2011 15:34:20 GMT
you quickly does the consumer process the 1000 msgs and how fast is the network between broker
and consumer?
What's the size of the msg? Is the consumer session transacted?

In general the broker can prefetch more msgs to your consumer once the consumer has acked
a few msgs. So the broker should try to keep the consumers prefetch full (assuming there are
more msgs on the queue to dispatch). The broker generally does not wait for all the 1000 msgs
to be acked, before dispatching more msgs.

Torsten Mielke

View raw message