Class JmsPoolQueueSender

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

    public class JmsPoolQueueSender
    extends JmsPoolMessageProducer
    implements javax.jms.QueueSender, AutoCloseable
    QueueSender instance that is created and managed by the PooledConnection.
    • Constructor Detail

      • JmsPoolQueueSender

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

      • send

        public void send​(javax.jms.Queue queue,
                         javax.jms.Message message,
                         int deliveryMode,
                         int priority,
                         long timeToLine)
                  throws javax.jms.JMSException
        Specified by:
        send in interface javax.jms.QueueSender
        Throws:
        javax.jms.JMSException
      • send

        public void send​(javax.jms.Queue queue,
                         javax.jms.Message message)
                  throws javax.jms.JMSException
        Specified by:
        send in interface javax.jms.QueueSender
        Throws:
        javax.jms.JMSException
      • getQueue

        public javax.jms.Queue getQueue()
                                 throws javax.jms.JMSException
        Specified by:
        getQueue in interface javax.jms.QueueSender
        Throws:
        javax.jms.JMSException
      • getQueueSender

        public javax.jms.QueueSender getQueueSender()
                                             throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException