Package org.apache.activemq.jms.pool
Class JcaConnectionPool
- java.lang.Object
-
- org.apache.activemq.jms.pool.ConnectionPool
-
- org.apache.activemq.jms.pool.XaConnectionPool
-
- org.apache.activemq.jms.pool.JcaConnectionPool
-
- All Implemented Interfaces:
ExceptionListener
public class JcaConnectionPool extends XaConnectionPool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.activemq.jms.pool.XaConnectionPool
XaConnectionPool.Synchronization
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.jms.pool.ConnectionPool
connection
-
-
Constructor Summary
Constructors Constructor Description JcaConnectionPool(Connection connection, TransactionManager transactionManager, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XAResource
createXaResource(PooledSession session)
-
Methods inherited from class org.apache.activemq.jms.pool.XaConnectionPool
createSession, makeSession
-
Methods inherited from class org.apache.activemq.jms.pool.ConnectionPool
close, decrementReferenceCount, expiredCheck, getBlockIfSessionPoolIsFullTimeout, getConnection, getExpiryTimeout, getIdleTimeout, getMaximumActiveSessionPerConnection, getNumActiveSessions, getNumIdleSessions, getNumSessions, incrementReferenceCount, isBlockIfSessionPoolIsFull, isReconnectOnException, isUseAnonymousProducers, onException, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setExpiryTimeout, setHasExpired, setIdleTimeout, setMaximumActiveSessionPerConnection, setReconnectOnException, setUseAnonymousProducers, start, toString, unWrap, wrap
-
-
-
-
Constructor Detail
-
JcaConnectionPool
public JcaConnectionPool(Connection connection, TransactionManager transactionManager, String name)
-
-
Method Detail
-
createXaResource
protected XAResource createXaResource(PooledSession session) throws JMSException
- Overrides:
createXaResource
in classXaConnectionPool
- Throws:
JMSException
-
-