Re: Pause/Resume MessageListener using DefaultMessageListenerContainer

2012-08-28 Thread jpcook01
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 thi

Re: Pause/Resume MessageListener using DefaultMessageListenerContainer

2012-08-27 Thread jpcook01
look at starting and stopping the message container. Thanks Jon - Reply message - From: "Gaurav Sharma [via ActiveMQ]" To: "jpcook01" Subject: Pause/Resume MessageListener using DefaultMessageListenerContainer Date: Mon, Aug 27, 2012 18:00 Hmm, actually, if you d

Pause/Resume MessageListener using DefaultMessageListenerContainer

2012-08-27 Thread jpcook01
Hi, I am using a Asynchronous MessageListener with onMessage within a DefaultMessageListenerContainer. My service is then deployed into tomcat. I would like to know if there is a recommended way for activating/deactivating my messagelistener programatically? It seems like quite a reasonable or co