org.apache.activemq.pool
Class PooledConnection

java.lang.Object
  extended by org.apache.activemq.jms.pool.PooledConnection
      extended by org.apache.activemq.pool.PooledConnection
All Implemented Interfaces:
javax.jms.Connection, javax.jms.QueueConnection, javax.jms.TopicConnection, Closeable, EnhancedConnection

public class PooledConnection
extends PooledConnection
implements EnhancedConnection


Field Summary
 
Fields inherited from class org.apache.activemq.jms.pool.PooledConnection
pool
 
Constructor Summary
PooledConnection(ConnectionPool connection)
           
 
Method Summary
 DestinationSource getDestinationSource()
           
 
Methods inherited from class org.apache.activemq.jms.pool.PooledConnection
assertNotClosed, cleanupAllLoanedSessions, cleanupConnectionTemporaryDestinations, close, createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createDurableConnectionConsumer, createQueueSession, createSession, createSession, 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 javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer, createQueueSession
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface org.apache.activemq.Closeable
close
 

Constructor Detail

PooledConnection

public PooledConnection(ConnectionPool connection)
Method Detail

getDestinationSource

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


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.