WebSphere MQ class: MQTopicSubscriber
java.lang.Object | +----com.ibm.mq.jms.MQMessageConsumer | +----com.ibm.mq.jms.MQTopicSubscriber |
A client uses a TopicSubscriber for receiving messages that have been published to a topic. TopicSubscriber is the Pub/Sub variant of a JMS message consumer.
See also: MessageConsumer and TopicSession.createSubscriber
MQTopicSubscriber inherits the following methods from MQMessageConsumer:
public boolean getNoLocal() throws JMSException
Get the NoLocal attribute for this TopicSubscriber. The default value for this attribute is false.
public Topic getTopic() throws JMSException
Get the topic associated with this subscriber.