how to remove a JMS MessageListener once started.
- by bhargav
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.