How to remove a JMS MessageListener once started?
I use queueReceiver.setMessageListener(this);
to create a listener.
But once I am dome with it I would also like to stop listening.
Using queueReceiver.setMessageListener(null);
does not seem to work.