public class TopicSubscriberImpl extends MessageConsumerImpl implements TopicSubscriber
_selector, _session| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the consumer.
|
java.lang.String |
getMessageSelector()
Returns the message consumer's selector.
|
boolean |
getNoLocal()
Returns true if local messages are not sent.
|
Topic |
getTopic() |
protected Message |
receiveImpl(long timeout)
Receives a message from the queue.
|
addMessageCallback, getDestination, getMessageListener, getSelector, isActive, isClosed, notifyMessageAvailable, receive, receive, receiveNoWait, setMessageListener, setMessageListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessageListener, receive, receive, receiveNoWait, setMessageListenerpublic java.lang.String getMessageSelector()
throws JMSException
getMessageSelector in interface MessageConsumergetMessageSelector in class MessageConsumerImplJMSExceptionpublic boolean getNoLocal()
throws JMSException
getNoLocal in interface TopicSubscribergetNoLocal in class MessageConsumerImplJMSExceptionpublic Topic getTopic() throws JMSException
getTopic in interface TopicSubscriberJMSExceptionprotected Message receiveImpl(long timeout) throws JMSException
MessageConsumerImplreceiveImpl in class MessageConsumerImplJMSExceptionpublic void close()
MessageConsumerImplclose in interface MessageConsumerclose in class MessageConsumerImpl