Class WmClusterTopicSessionImpl

  • All Implemented Interfaces:
    WmSession, java.lang.Runnable, javax.jms.Session, javax.jms.TopicSession

    public class WmClusterTopicSessionImpl
    extends WmClusterSessionImpl
    implements javax.jms.TopicSession
    • Constructor Detail

      • WmClusterTopicSessionImpl

        protected WmClusterTopicSessionImpl​(WmClusterConnectionImpl connection,
                                            boolean transacted,
                                            boolean isXA,
                                            int acknowledgeMode)
                                     throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • createQueue

        public javax.jms.Queue createQueue​(java.lang.String queueName)
                                    throws javax.jms.JMSException
        Thows an IllegalStateException.
        Specified by:
        createQueue in interface javax.jms.Session
        Overrides:
        createQueue in class WmClusterSessionImpl
        Parameters:
        queueName - the name of this Queue
        Returns:
        a Queue with the given name
        Throws:
        javax.jms.JMSException - if the session fails to create a queue due to some internal error.
      • createBrowser

        public javax.jms.QueueBrowser createBrowser​(javax.jms.Queue queue)
                                             throws javax.jms.JMSException
        Thows an IllegalStateException.
        Specified by:
        createBrowser in interface javax.jms.Session
        Overrides:
        createBrowser in class WmClusterSessionImpl
        Parameters:
        queue - the queue to access
        Throws:
        javax.jms.JMSException - if the session fails to create a browser due to some internal error.
        javax.jms.InvalidDestinationException - if an invalid destination is specified
      • createBrowser

        public javax.jms.QueueBrowser createBrowser​(javax.jms.Queue queue,
                                                    java.lang.String messageSelector)
                                             throws javax.jms.JMSException
        Thows an IllegalStateException.
        Specified by:
        createBrowser in interface javax.jms.Session
        Overrides:
        createBrowser in class WmClusterSessionImpl
        Parameters:
        queue - the queue to access
        messageSelector - only messages with properties matching the message selector expression are delivered. A value of null or an empty string indicates that there is no message selector for the message consumer.
        Throws:
        javax.jms.JMSException - if the session fails to create a browser due to some internal error.
        javax.jms.InvalidDestinationException - if an invalid destination is specified
        javax.jms.InvalidSelectorException - if the message selector is invalid.
      • createTemporaryQueue

        public javax.jms.TemporaryQueue createTemporaryQueue()
                                                      throws javax.jms.JMSException
        Thows an IllegalStateException.
        Specified by:
        createTemporaryQueue in interface javax.jms.Session
        Overrides:
        createTemporaryQueue in class WmClusterSessionImpl
        Returns:
        a temporary queue identity
        Throws:
        javax.jms.JMSException - if the session fails to create a temporary queue due to some internal error.