Class ActiveMQRATopicSubscriber

  • All Implemented Interfaces:
    jakarta.jms.MessageConsumer, jakarta.jms.TopicSubscriber, AutoCloseable

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

      • ActiveMQRATopicSubscriber

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

      • getNoLocal

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

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