Class JmsQueueConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, javax.jms.Connection, javax.jms.QueueConnection, javax.jms.TopicConnection, ProviderListener

    public class JmsQueueConnection
    extends JmsConnection
    implements java.lang.AutoCloseable
    • Constructor Detail

      • JmsQueueConnection

        public JmsQueueConnection​(JmsConnectionInfo connectionInfo,
                                  Provider provider)
                           throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • createTopicSession

        public javax.jms.TopicSession createTopicSession​(boolean transacted,
                                                         int acknowledgeMode)
                                                  throws javax.jms.JMSException
        Specified by:
        createTopicSession in interface javax.jms.TopicConnection
        Overrides:
        createTopicSession in class JmsConnection
        Throws:
        javax.jms.JMSException
      • createDurableConnectionConsumer

        public javax.jms.ConnectionConsumer createDurableConnectionConsumer​(javax.jms.Topic topic,
                                                                            java.lang.String subscriptionName,
                                                                            java.lang.String messageSelector,
                                                                            javax.jms.ServerSessionPool sessionPool,
                                                                            int maxMessages)
                                                                     throws javax.jms.JMSException
        Specified by:
        createDurableConnectionConsumer in interface javax.jms.Connection
        Specified by:
        createDurableConnectionConsumer in interface javax.jms.TopicConnection
        Overrides:
        createDurableConnectionConsumer in class JmsConnection
        Throws:
        javax.jms.JMSException
      • createConnectionConsumer

        public javax.jms.ConnectionConsumer createConnectionConsumer​(javax.jms.Topic topic,
                                                                     java.lang.String messageSelector,
                                                                     javax.jms.ServerSessionPool sessionPool,
                                                                     int maxMessages)
                                                              throws javax.jms.JMSException
        Specified by:
        createConnectionConsumer in interface javax.jms.TopicConnection
        Overrides:
        createConnectionConsumer in class JmsConnection
        Throws:
        javax.jms.JMSException