public class HornetQRATopicSubscriber extends HornetQRAMessageConsumer implements javax.jms.TopicSubscriber
consumer, session
Constructor and Description |
---|
HornetQRATopicSubscriber(javax.jms.TopicSubscriber consumer,
HornetQRASession session)
Create a new wrapper
|
Modifier and Type | Method and Description |
---|---|
boolean |
getNoLocal()
Get the no local value
|
javax.jms.Topic |
getTopic()
Get the topic
|
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
public HornetQRATopicSubscriber(javax.jms.TopicSubscriber consumer, HornetQRASession session)
consumer
- the topic subscribersession
- the sessionpublic boolean getNoLocal() throws javax.jms.JMSException
getNoLocal
in interface javax.jms.TopicSubscriber
javax.jms.JMSException
- Thrown if an error occurspublic javax.jms.Topic getTopic() throws javax.jms.JMSException
getTopic
in interface javax.jms.TopicSubscriber
javax.jms.JMSException
- Thrown if an error occursCopyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.