Class WmTopicSubscriberImpl

    • Constructor Detail

      • WmTopicSubscriberImpl

        protected WmTopicSubscriberImpl​(WmSessionImpl session,
                                        WmTopicImpl topic,
                                        java.lang.String durableName,
                                        java.lang.String selector,
                                        boolean noLocal)
                                 throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • getTopic

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

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