activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: AMQ 5.5 non-persistent messages not processed, counted as in-flight
Date Tue, 30 Aug 2011 09:23:07 GMT
you need to use CACHE_CONSUMER cache level such that there is only a
single consumer.

On 29 August 2011 18:23, nrichards <jrichartz@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

Mime
View raw message