activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Pausing messages consuming
Date Wed, 11 Jul 2012 09:56:23 GMT
you could intercept in your plugin
and block. This will stop all message dispatch from the broker as this
method is called before every message dispatch by the transport.
With asyncDispatch (the default) this will end up blocking the
consumers dispatch thread.

On 11 July 2012 10:20, mandjeo <> wrote:
> I also tried setting the Selector for the consumer to something that will not
> be valid for any of the messages and than when I want to restart consuming
> setting it back, but this doesn't work. Messages keep getting consumed, it's
> like setting the selector after adding the consumer doesn't make any
> effect...
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message