public class ActiveMQRATopicSubscriber extends ActiveMQRAMessageConsumer implements javax.jms.TopicSubscriber
consumer, session
Constructor and Description |
---|
ActiveMQRATopicSubscriber(javax.jms.TopicSubscriber consumer,
ActiveMQRASession 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 ActiveMQRATopicSubscriber(javax.jms.TopicSubscriber consumer, ActiveMQRASession 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 © 2016 The Apache Software Foundation. All rights reserved.