So if the thread wanting to shut down the Message Listening sets the message
listener to NULL, the setMessageListener call will not return until there is
no onMessage function in progress?

And so, after the setMessageListener(NULL) call returns, it is safe to
delete the MessageListener object? 

Steve Rice



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/how-to-safely-delete-a-cms-MessageListener-object-tp4689939p4690057.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to