org.apache.activemq.pool
Class PooledConnectionFactory
java.lang.Object
org.apache.activemq.jms.pool.PooledConnectionFactory
org.apache.activemq.pool.PooledConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, Referenceable, JNDIStorableInterface, Service
public class PooledConnectionFactory
- extends PooledConnectionFactory
- implements JNDIStorableInterface, Service
Add Service and Referenceable and TransportListener to @link{org.apache.activemq.jms.pool.PooledConnectionFactory}
| Methods inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory |
clear, createConnection, createConnection, createConnection, getConnectionFactory, getConnectionsPool, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, setBlockIfSessionPoolIsFull, setConnectionFactory, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setTimeBetweenExpirationCheckMillis, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POOL_PROPS_PREFIX
public static final String POOL_PROPS_PREFIX
- See Also:
- Constant Field Values
PooledConnectionFactory
public PooledConnectionFactory()
PooledConnectionFactory
public PooledConnectionFactory(ActiveMQConnectionFactory activeMQConnectionFactory)
PooledConnectionFactory
public PooledConnectionFactory(String brokerURL)
buildFromProperties
protected void buildFromProperties(Properties props)
populateProperties
protected void populateProperties(Properties props)
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties in interface JNDIStorableInterface
getProperties
public Properties getProperties()
- Specified by:
getProperties in interface JNDIStorableInterface
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference in interface Referenceable
- Throws:
NamingException
newPooledConnection
protected javax.jms.Connection newPooledConnection(ConnectionPool connection)
- Overrides:
newPooledConnection in class PooledConnectionFactory
createConnectionPool
protected ConnectionPool createConnectionPool(javax.jms.Connection connection)
- Overrides:
createConnectionPool in class PooledConnectionFactory
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.