public class JmsTopicSubscriber extends JmsMessageConsumer implements javax.jms.TopicSubscriber
| Constructor and Description |
|---|
JmsTopicSubscriber(javax.jms.TopicSubscriber consumer,
JmsSession session)
Create a new wrapper
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNoLocal() |
javax.jms.Topic |
getTopic() |
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic JmsTopicSubscriber(javax.jms.TopicSubscriber consumer,
JmsSession session)
consumer - the topic subscribersession - the sessionpublic boolean getNoLocal()
throws javax.jms.JMSException
getNoLocal in interface javax.jms.TopicSubscriberjavax.jms.JMSExceptionpublic javax.jms.Topic getTopic()
throws javax.jms.JMSException
getTopic in interface javax.jms.TopicSubscriberjavax.jms.JMSExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.