|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
void |
close()
Closes the subscriber and releases underlying resources associated with this subscriber. |
javax.jms.Topic |
getTopic()
Gets the topic associated with this subscriber. |
Methods inherited from class com.ibm.mq.jms.MQMessageConsumer |
getDestination, getMessageListener, getMessageSelector, getNoLocal, receive, receive, receiveNoWait, setMessageListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.TopicSubscriber |
getNoLocal |
Methods inherited from interface javax.jms.MessageConsumer |
getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener |
Method Detail |
public void close() throws javax.jms.JMSException
close
in interface javax.jms.MessageConsumer
close
in class MQMessageConsumer
javax.jms.JMSException
- if the underlying MQ calls fail.public javax.jms.Topic getTopic() throws javax.jms.JMSException
getTopic
in interface javax.jms.TopicSubscriber
getTopic
in class MQMessageConsumer
javax.jms.JMSException
- if JMS fails to get topic for
this topic subscriber
due to some internal error.
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |