activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nrichards <>
Subject AMQ 5.5 non-persistent messages not processed, counted as in-flight
Date Mon, 29 Aug 2011 17:23:28 GMT
I have a single consumer on each of a number of queues and a prefetch value
of 1, and know that messages will arrive faster than they can be processed.
In each queue, a large percentage of the messages are not handed to the
listener and show up in the MBeans via Jconsole as awaiting acknowledgement.

A Spring SimpleMessageListenerContainer handles the listener and has
concurrent consumers = 1.

The prefetch policy has each entry set to 1.

While I know the single listener strategy is somewhat debatable, it doesn't
seem that the messages should be stuck in the enqueued/inflight state.

Any suggestions how to deal with this?

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

View raw message