activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swapnil <>
Subject Re: ActiveMQ stops sending messages to Queue Consumer in case of consumer not acknowledging messages
Date Thu, 01 Aug 2013 05:55:43 GMT
Yes, I am calling commit on the session but only after receiving say X number
of messages. Consumer will accumulate X number of messages before processing
and acknowledging them.

This X is configurable number. We tried with 500 and consumer was receiving
only around 350 messages. Messages which are enqueued and pending was around

Number of messages sent by JMS varies as per the size of message (larger the
size, less number of messages received by consumer). After sending say 350
messages to consumer, JMS waits till acknowledgment before sending further
batch of messages.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message