Class ActiveMQRATopicSubscriber

  • All Implemented Interfaces:
    java.lang.AutoCloseable, javax.jms.MessageConsumer, javax.jms.TopicSubscriber

    public class ActiveMQRATopicSubscriber
    extends ActiveMQRAMessageConsumer
    implements javax.jms.TopicSubscriber
    A wrapper for a topic subscriber
    • Constructor Detail

      • ActiveMQRATopicSubscriber

        public ActiveMQRATopicSubscriber​(javax.jms.TopicSubscriber consumer,
                                         ActiveMQRASession session)
        Create a new wrapper
        Parameters:
        consumer - the topic subscriber
        session - the session
    • Method Detail

      • getNoLocal

        public boolean getNoLocal()
                           throws javax.jms.JMSException
        Get the no local value
        Specified by:
        getNoLocal in interface javax.jms.TopicSubscriber
        Returns:
        The value
        Throws:
        javax.jms.JMSException - Thrown if an error occurs
      • getTopic

        public javax.jms.Topic getTopic()
                                 throws javax.jms.JMSException
        Get the topic
        Specified by:
        getTopic in interface javax.jms.TopicSubscriber
        Returns:
        The topic
        Throws:
        javax.jms.JMSException - Thrown if an error occurs