Class PooledConnection

  • All Implemented Interfaces:
    AutoCloseable, javax.jms.Connection, javax.jms.QueueConnection, javax.jms.TopicConnection, org.apache.activemq.Closeable, org.apache.activemq.EnhancedConnection

    public class PooledConnection
    extends org.apache.activemq.jms.pool.PooledConnection
    implements org.apache.activemq.EnhancedConnection
    • Field Summary

      • Fields inherited from class org.apache.activemq.jms.pool.PooledConnection

        pool
    • Constructor Summary

      Constructors 
      Constructor Description
      PooledConnection​(org.apache.activemq.jms.pool.ConnectionPool connection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DestinationSource getDestinationSource()  
      • Methods inherited from class org.apache.activemq.jms.pool.PooledConnection

        assertNotClosed, cleanupAllLoanedSessions, cleanupConnectionTemporaryDestinations, close, createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createDurableConnectionConsumer, createQueueSession, createSession, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, createTopicSession, getClientID, getConnection, getExceptionListener, getMetaData, getNumActiveSessions, getNumSessions, getNumtIdleSessions, newInstance, onSessionClosed, onTemporaryQueueCreate, onTemporaryTopicCreate, setClientID, setExceptionListener, start, stop, toString
      • Methods inherited from interface org.apache.activemq.Closeable

        close
      • Methods inherited from interface javax.jms.Connection

        close, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
      • Methods inherited from interface javax.jms.QueueConnection

        createConnectionConsumer, createQueueSession
      • Methods inherited from interface javax.jms.TopicConnection

        createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
    • Constructor Detail

      • PooledConnection

        public PooledConnection​(org.apache.activemq.jms.pool.ConnectionPool connection)
    • Method Detail

      • getDestinationSource

        public DestinationSource getDestinationSource()
                                               throws javax.jms.JMSException
        Specified by:
        getDestinationSource in interface org.apache.activemq.EnhancedConnection
        Throws:
        javax.jms.JMSException