MQTopicSubscriber

public class MQTopicSubscriber
extends MQMessageConsumer
implements TopicSubscriber
java.lang.Object
   |
   +----com.ibm.mq.jms.MQMessageConsumer
           |
           +----com.ibm.mq.jms.MQTopicSubscriber
          

A client uses an MQTopicSubscriber object to receive messages that have been published to a topic.

Methods

close

public void close() throws JMSException;

Closes the subscriber and releases underlying resources associated with this subscriber.

Exceptions

getTopic

public Topic getTopic() throws JMSException;

Gets the topic associated with this subscriber.

Returns
Exceptions