Class ActiveMQRATopicSubscriber

java.lang.Object
org.apache.activemq.artemis.ra.ActiveMQRAMessageConsumer
org.apache.activemq.artemis.ra.ActiveMQRATopicSubscriber
All Implemented Interfaces:
MessageConsumer, TopicSubscriber, AutoCloseable

public class ActiveMQRATopicSubscriber extends ActiveMQRAMessageConsumer implements TopicSubscriber
A wrapper for a TopicSubscriber.
  • Constructor Details

  • Method Details

    • getNoLocal

      public boolean getNoLocal() throws JMSException
      Gets the NoLocal attribute for this subscriber. The default value for this attribute is false.
      Specified by:
      getNoLocal in interface TopicSubscriber
      Returns:
      true if locally published messages are being inhibited
      Throws:
      JMSException - if the Jakarta Messaging provider fails to get the NoLocal attribute for this topic subscriber due to some internal error.
    • getTopic

      public Topic getTopic() throws JMSException
      Gets the Topic associated with this subscriber.
      Specified by:
      getTopic in interface TopicSubscriber
      Returns:
      this subscriber's Topic
      Throws:
      JMSException - if the Jakarta Messaging provider fails to get the topic for this topic subscriber due to some internal error.