Package org.apache.activemq.pool
Class JcaPooledConnectionFactory
- java.lang.Object
-
- org.apache.activemq.jms.pool.PooledConnectionFactory
-
- org.apache.activemq.jms.pool.XaPooledConnectionFactory
-
- org.apache.activemq.pool.XaPooledConnectionFactory
-
- org.apache.activemq.pool.JcaPooledConnectionFactory
-
- All Implemented Interfaces:
Serializable
,ConnectionFactory
,QueueConnectionFactory
,TopicConnectionFactory
,Referenceable
,ObjectFactory
,JNDIStorableInterface
,Service
public class JcaPooledConnectionFactory extends XaPooledConnectionFactory
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.pool.XaPooledConnectionFactory
POOL_PROPS_PREFIX
-
Fields inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
connectionFactory, stopped
-
-
Constructor Summary
Constructors Constructor Description JcaPooledConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectionPool
createConnectionPool(Connection connection)
Delegate that creates each instance of an ConnectionPool object.String
getName()
void
setName(String name)
-
Methods inherited from class org.apache.activemq.pool.XaPooledConnectionFactory
buildFromProperties, getBrokerUrl, getProperties, getReference, populateProperties, setBrokerUrl, setProperties
-
Methods inherited from class org.apache.activemq.jms.pool.XaPooledConnectionFactory
createConnection, getObjectInstance, getTmJndiName, getTransactionManager, isTmFromJndi, setConnectionFactory, setTmFromJndi, setTmJndiName, setTransactionManager
-
Methods inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
clear, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getBlockIfSessionPoolIsFullTimeout, getConnectionFactory, getConnectionsPool, getConnectionTimeout, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, isReconnectOnException, isUseAnonymousProducers, newPooledConnection, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setConnectionTimeout, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setReconnectOnException, setTimeBetweenExpirationCheckMillis, setUseAnonymousProducers, start, stop
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
createConnectionPool
protected ConnectionPool createConnectionPool(Connection connection)
Description copied from class:PooledConnectionFactory
Delegate that creates each instance of an ConnectionPool object. Subclasses can override this method to customize the type of connection pool returned.- Overrides:
createConnectionPool
in classXaPooledConnectionFactory
- Returns:
- instance of a new ConnectionPool.
-
-