Class WmXATopicSessionImpl

  • All Implemented Interfaces:
    WmSession, java.lang.Runnable, javax.jms.Session, javax.jms.TopicSession, javax.jms.XASession, javax.jms.XATopicSession, javax.transaction.xa.XAResource

    public class WmXATopicSessionImpl
    extends WmXASessionImpl
    implements javax.jms.TopicSession, javax.jms.XATopicSession
    • Method Detail

      • getTopicSession

        public javax.jms.TopicSession getTopicSession()
                                               throws javax.jms.JMSException
        Gets the topic session associated with this XATopicSession.
        Specified by:
        getTopicSession in interface javax.jms.XATopicSession
        Returns:
        the topic session object
        Throws:
        javax.jms.JMSException - if an internal error occurs.
      • 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 WmSessionImpl
        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 WmSessionImpl
        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 WmSessionImpl
        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 WmSessionImpl
        Returns:
        a temporary queue identity
        Throws:
        javax.jms.JMSException - if the session fails to create a temporary queue due to some internal error.