Class JmsPoolTopicPublisher

  • All Implemented Interfaces:
    AutoCloseable, javax.jms.MessageProducer, javax.jms.TopicPublisher

    public class JmsPoolTopicPublisher
    extends JmsPoolMessageProducer
    implements javax.jms.TopicPublisher, AutoCloseable
    A TopicPublisher instance that is created and managed by a PooledConnection.
    • Constructor Detail

      • JmsPoolTopicPublisher

        public JmsPoolTopicPublisher​(JmsPoolSession session,
                                     javax.jms.TopicPublisher messageProducer,
                                     javax.jms.Destination destination,
                                     AtomicInteger refCount)
                              throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • getTopic

        public javax.jms.Topic getTopic()
                                 throws javax.jms.JMSException
        Specified by:
        getTopic in interface javax.jms.TopicPublisher
        Throws:
        javax.jms.JMSException
      • publish

        public void publish​(javax.jms.Message message)
                     throws javax.jms.JMSException
        Specified by:
        publish in interface javax.jms.TopicPublisher
        Throws:
        javax.jms.JMSException
      • publish

        public void publish​(javax.jms.Message message,
                            int deliveryMode,
                            int priority,
                            long timeToLive)
                     throws javax.jms.JMSException
        Specified by:
        publish in interface javax.jms.TopicPublisher
        Throws:
        javax.jms.JMSException
      • publish

        public void publish​(javax.jms.Topic topic,
                            javax.jms.Message message)
                     throws javax.jms.JMSException
        Specified by:
        publish in interface javax.jms.TopicPublisher
        Throws:
        javax.jms.JMSException
      • publish

        public void publish​(javax.jms.Topic topic,
                            javax.jms.Message message,
                            int deliveryMode,
                            int priority,
                            long timeToLive)
                     throws javax.jms.JMSException
        Specified by:
        publish in interface javax.jms.TopicPublisher
        Throws:
        javax.jms.JMSException
      • getTopicPublisher

        public javax.jms.TopicPublisher getTopicPublisher()
                                                   throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException