Class JmsQueueSession

    • Constructor Detail

      • JmsQueueSession

        protected JmsQueueSession​(JmsConnection connection,
                                  JmsSessionId sessionId,
                                  int acknowledgementMode)
                           throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • createConsumer

        public javax.jms.MessageConsumer createConsumer​(javax.jms.Destination destination)
                                                 throws javax.jms.JMSException
        Specified by:
        createConsumer in interface javax.jms.Session
        Overrides:
        createConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createConsumer(javax.jms.Destination)
      • createConsumer

        public javax.jms.MessageConsumer createConsumer​(javax.jms.Destination destination,
                                                        String messageSelector)
                                                 throws javax.jms.JMSException
        Specified by:
        createConsumer in interface javax.jms.Session
        Overrides:
        createConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createConsumer(javax.jms.Destination, java.lang.String)
      • createConsumer

        public javax.jms.MessageConsumer createConsumer​(javax.jms.Destination destination,
                                                        String messageSelector,
                                                        boolean noLocal)
                                                 throws javax.jms.JMSException
        Specified by:
        createConsumer in interface javax.jms.Session
        Overrides:
        createConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createConsumer(javax.jms.Destination, java.lang.String, boolean)
      • createDurableSubscriber

        public javax.jms.TopicSubscriber createDurableSubscriber​(javax.jms.Topic topic,
                                                                 String name)
                                                          throws javax.jms.JMSException
        Specified by:
        createDurableSubscriber in interface javax.jms.Session
        Specified by:
        createDurableSubscriber in interface javax.jms.TopicSession
        Overrides:
        createDurableSubscriber in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createDurableSubscriber(javax.jms.Topic, java.lang.String)
      • createDurableSubscriber

        public javax.jms.TopicSubscriber createDurableSubscriber​(javax.jms.Topic topic,
                                                                 String name,
                                                                 String messageSelector,
                                                                 boolean noLocal)
                                                          throws javax.jms.JMSException
        Specified by:
        createDurableSubscriber in interface javax.jms.Session
        Specified by:
        createDurableSubscriber in interface javax.jms.TopicSession
        Overrides:
        createDurableSubscriber in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createDurableSubscriber(javax.jms.Topic, java.lang.String, java.lang.String, boolean)
      • createProducer

        public javax.jms.MessageProducer createProducer​(javax.jms.Destination destination)
                                                 throws javax.jms.JMSException
        Specified by:
        createProducer in interface javax.jms.Session
        Overrides:
        createProducer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createProducer(javax.jms.Destination)
      • createTemporaryTopic

        public javax.jms.TemporaryTopic createTemporaryTopic()
                                                      throws javax.jms.JMSException
        Specified by:
        createTemporaryTopic in interface javax.jms.Session
        Specified by:
        createTemporaryTopic in interface javax.jms.TopicSession
        Overrides:
        createTemporaryTopic in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createTemporaryTopic()
      • createTopic

        public javax.jms.Topic createTopic​(String topicName)
                                    throws javax.jms.JMSException
        Specified by:
        createTopic in interface javax.jms.Session
        Specified by:
        createTopic in interface javax.jms.TopicSession
        Overrides:
        createTopic in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createTopic(java.lang.String)
      • unsubscribe

        public void unsubscribe​(String name)
                         throws javax.jms.JMSException
        Specified by:
        unsubscribe in interface javax.jms.Session
        Specified by:
        unsubscribe in interface javax.jms.TopicSession
        Overrides:
        unsubscribe in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.unsubscribe(java.lang.String)
      • createPublisher

        public javax.jms.TopicPublisher createPublisher​(javax.jms.Topic topic)
                                                 throws javax.jms.JMSException
        Specified by:
        createPublisher in interface javax.jms.TopicSession
        Overrides:
        createPublisher in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        TopicSession.createPublisher(javax.jms.Topic)
      • createSubscriber

        public javax.jms.TopicSubscriber createSubscriber​(javax.jms.Topic topic)
                                                   throws javax.jms.JMSException
        Specified by:
        createSubscriber in interface javax.jms.TopicSession
        Overrides:
        createSubscriber in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        TopicSession.createSubscriber(javax.jms.Topic)
      • createSubscriber

        public javax.jms.TopicSubscriber createSubscriber​(javax.jms.Topic topic,
                                                          String messageSelector,
                                                          boolean noLocal)
                                                   throws javax.jms.JMSException
        Specified by:
        createSubscriber in interface javax.jms.TopicSession
        Overrides:
        createSubscriber in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        TopicSession.createSubscriber(javax.jms.Topic, java.lang.String, boolean)
      • createSharedConsumer

        public javax.jms.MessageConsumer createSharedConsumer​(javax.jms.Topic topic,
                                                              String name)
                                                       throws javax.jms.JMSException
        Specified by:
        createSharedConsumer in interface javax.jms.Session
        Overrides:
        createSharedConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createSharedConsumer(javax.jms.Topic, java.lang.String)
      • createSharedConsumer

        public javax.jms.MessageConsumer createSharedConsumer​(javax.jms.Topic topic,
                                                              String name,
                                                              String selector)
                                                       throws javax.jms.JMSException
        Specified by:
        createSharedConsumer in interface javax.jms.Session
        Overrides:
        createSharedConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createSharedConsumer(javax.jms.Topic, java.lang.String, java.lang.String)
      • createSharedDurableConsumer

        public javax.jms.MessageConsumer createSharedDurableConsumer​(javax.jms.Topic topic,
                                                                     String name)
                                                              throws javax.jms.JMSException
        Specified by:
        createSharedDurableConsumer in interface javax.jms.Session
        Overrides:
        createSharedDurableConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createSharedDurableConsumer(javax.jms.Topic, java.lang.String)
      • createSharedDurableConsumer

        public javax.jms.MessageConsumer createSharedDurableConsumer​(javax.jms.Topic topic,
                                                                     String name,
                                                                     String selector)
                                                              throws javax.jms.JMSException
        Specified by:
        createSharedDurableConsumer in interface javax.jms.Session
        Overrides:
        createSharedDurableConsumer in class JmsSession
        Throws:
        javax.jms.JMSException
        See Also:
        Session.createSharedDurableConsumer(javax.jms.Topic, java.lang.String, java.lang.String)