Package org.apache.activemq.pool
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 -
Method Summary
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.activemq.Closeable
closeMethods inherited from interface jakarta.jms.Connection
close, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stopMethods inherited from interface jakarta.jms.QueueConnection
createConnectionConsumer, createQueueSessionMethods inherited from interface jakarta.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
-
Constructor Details
-
PooledConnection
public PooledConnection(org.apache.activemq.jms.pool.ConnectionPool connection)
-
-
Method Details
-
getDestinationSource
- Specified by:
getDestinationSourcein interfaceorg.apache.activemq.EnhancedConnection- Throws:
jakarta.jms.JMSException
-