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, setMessageListener
public JmsTopicSubscriber(javax.jms.TopicSubscriber consumer, JmsSession session)
consumer
- the topic subscribersession
- the sessionpublic boolean getNoLocal() throws javax.jms.JMSException
getNoLocal
in interface javax.jms.TopicSubscriber
javax.jms.JMSException
public javax.jms.Topic getTopic() throws javax.jms.JMSException
getTopic
in interface javax.jms.TopicSubscriber
javax.jms.JMSException
Copyright © 2017 JBoss by Red Hat. All rights reserved.