you need to use CACHE_CONSUMER cache level such that there is only a single consumer.
On 29 August 2011 18:23, nrichards <jricha...@arrisi.com> wrote: > 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: > http://activemq.2283324.n4.nabble.com/AMQ-5-5-non-persistent-messages-not-processed-counted-as-in-flight-tp3776808p3776808.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://fusesource.com http://blog.garytully.com