I am using Java API to make a listener listening on a queue. How can I
disable this listener? The code I used is:

MessageConsumer consumer = session.createConsumer(queue);
consumer.setMessageListener(listener)

Thanks,

Zhao Yi
-- 
View this message in context: 
http://apache-qpid-users.2158936.n2.nabble.com/How-can-I-unsubscribe-a-listener-tp5529248p5529248.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to