how to remove a JMS MessageListener once started.

Posted by bhargav on Stack Overflow See other posts from Stack Overflow or by bhargav
Published on 2010-03-08T09:45:12Z Indexed on 2010/03/08 9:51 UTC
Read the original article Hit count: 353

Filed under:

how to remove a JMS MessageListener once started. i use queueReceiver.setMessageListener(this);

to create a listner .

but once i am dome with it i would also like to stop listning.

queueReceiver.setMessageListener(null); does not seem to work.

© Stack Overflow or respective owner

Related posts about jms