Class JmsTopicSubscriber

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

    public class JmsTopicSubscriber
    extends JmsMessageConsumer
    implements jakarta.jms.TopicSubscriber
    A wrapper for a topic subscriber
    Author:
    Adrian Brock
    • Constructor Detail

      • JmsTopicSubscriber

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

      • getNoLocal

        public boolean getNoLocal()
                           throws jakarta.jms.JMSException
        Specified by:
        getNoLocal in interface jakarta.jms.TopicSubscriber
        Throws:
        jakarta.jms.JMSException
      • getTopic

        public jakarta.jms.Topic getTopic()
                                   throws jakarta.jms.JMSException
        Specified by:
        getTopic in interface jakarta.jms.TopicSubscriber
        Throws:
        jakarta.jms.JMSException