Skip navigation links
TIBCO Enterprise Message Service
javax.jms

Interface ConnectionConsumer

    • Method Detail

      • getServerSessionPool

        ServerSessionPool getServerSessionPool()
                                        throws JMSException
        Gets the server session pool associated with this connection consumer.
        Returns:
        the server session pool used by this connection consumer
        Throws:
        JMSException - if the JMS provider fails to get the server session pool associated with this consumer due to some internal error.
      • close

        void close()
            throws JMSException
        Closes the connection consumer.

        Since a provider may allocate some resources on behalf of a connection consumer outside the Java virtual machine, clients should close these resources when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.

        Throws:
        JMSException - if the JMS provider fails to release resources on behalf of the connection consumer or fails to close the connection consumer.
TIBCO Enterprise Message Service