unsubscribe

 

public void unsubscribe(String name) throws JMSException;

Unsubscribes a durable subscription that has been created by a client.

For a direct connection to WebSphere MQ Event Broker, WebSphere Business Integration Event Broker, or WebSphere Business Integration Message Broker, this method throws a JMSException.

Exceptions

  • JMSException - if the Session fails to unsubscribe to the durable subscription due to an internal error.


uj30330_