org.apache.activemq.jms.pool
Class XaConnectionPool
java.lang.Object
org.apache.activemq.jms.pool.ConnectionPool
org.apache.activemq.jms.pool.XaConnectionPool
- Direct Known Subclasses:
- JcaConnectionPool
public class XaConnectionPool
- extends ConnectionPool
An XA-aware connection pool. When a session is created and an xa transaction is active,
the session will automatically be enlisted in the current transaction.
- Author:
- gnodet
| Methods inherited from class org.apache.activemq.jms.pool.ConnectionPool |
close, decrementReferenceCount, expiredCheck, getConnection, getExpiryTimeout, getIdleTimeout, getMaximumActiveSessionPerConnection, getNumActiveSessions, getNumIdleSessions, getNumSessions, incrementReferenceCount, isBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFull, setExpiryTimeout, setHasExpired, setIdleTimeout, setMaximumActiveSessionPerConnection, start, toString, unWrap, wrap |
XaConnectionPool
public XaConnectionPool(javax.jms.Connection connection,
TransactionManager transactionManager)
makeSession
protected javax.jms.Session makeSession(SessionKey key)
throws javax.jms.JMSException
- Overrides:
makeSession in class ConnectionPool
- Throws:
javax.jms.JMSException
createSession
public javax.jms.Session createSession(boolean transacted,
int ackMode)
throws javax.jms.JMSException
- Overrides:
createSession in class ConnectionPool
- Throws:
javax.jms.JMSException
createXaResource
protected XAResource createXaResource(PooledSession session)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.