Class PooledConnection

java.lang.Object
org.apache.activemq.jms.pool.PooledConnection
org.apache.activemq.pool.PooledConnection
All Implemented Interfaces:
jakarta.jms.Connection, jakarta.jms.QueueConnection, jakarta.jms.TopicConnection, AutoCloseable, 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

    Modifier and Type
    Method
    Description
     

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.activemq.Closeable

    close

    Methods inherited from interface jakarta.jms.Connection

    close, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop

    Methods inherited from interface jakarta.jms.QueueConnection

    createConnectionConsumer, createQueueSession

    Methods inherited from interface jakarta.jms.TopicConnection

    createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
  • Constructor Details

    • PooledConnection

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

    • getDestinationSource

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