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.

Reply via email to