public class JmsTopicSubscriber extends JmsMessageConsumer implements TopicSubscriber
| Constructor and Description |
|---|
JmsTopicSubscriber(TopicSubscriber consumer,
JmsSession session)
Create a new wrapper
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNoLocal()
Gets the
NoLocal attribute for this subscriber. |
Topic |
getTopic()
Gets the
Topic associated with this subscriber. |
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic JmsTopicSubscriber(TopicSubscriber consumer, JmsSession session)
consumer - the topic subscribersession - the sessionpublic boolean getNoLocal()
throws JMSException
TopicSubscriberNoLocal attribute for this subscriber.
The default value for this attribute is false.getNoLocal in interface TopicSubscriberJMSException - if the JMS provider fails to get the
NoLocal attribute for
this topic subscriber
due to some internal error.public Topic getTopic() throws JMSException
TopicSubscriberTopic associated with this subscriber.getTopic in interface TopicSubscriberTopicJMSException - if the JMS provider fails to get the topic for
this topic subscriber
due to some internal error.Copyright © 2018 JBoss by Red Hat. All rights reserved.