activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Arnold <geoff...@geoffreyarnold.com>
Subject Re: Pause/Resume MessageListener using DefaultMessageListenerContainer
Date Tue, 28 Aug 2012 20:29:32 GMT
To stop:

        DefaultMessageListenerContainer#stop
        DefaultMessageListenerContainer#shutdown

To restart:

	DefaultMessageListenerContainer#initialize 

On Aug 28, 2012, at 4:18 PM, jpcook01 wrote:

> Hmmm,
> 
> Thinking about this, if I shut the DefaultMessageListenerContainer down in
> the MessageListener then messages will remain the broker and the code to
> start the listener again will never get invoked?
> 
> Any other suggestions on this? I don't understand why there isn't some
> obvious solution to this?
> 
> Thanks
> Jon
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Pause-Resume-MessageListener-using-DefaultMessageListenerContainer-tp4655590p4655727.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message