Calling TopicSubscriber.setMessageListener(null) will unset the listener; is that what you're looking for?
Also, you say that "Before they may do so, I need to remove the MessageListener;" why is this necessary prior to unsubscribing? Tim On Sep 13, 2016 12:34 PM, "Lovegiver" <frederic.courc...@gmail.com> wrote: > Hello, > > I have created *DurableSubscribers* for different *topics*. > A *MessageListener *has been implemented. > > Some of these subscribers would like to *unsubscribe *one or more topics. > > Before they may do so, I need to *remove the MessageListener*. > > How can I do that ? > > Thanx for your help. > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/How-to-remove-a-MessageListener-tp4716492.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >