org.apache.activemq.pool
Class XaConnectionPool
java.lang.Object
org.apache.activemq.pool.ConnectionPool
org.apache.activemq.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XaConnectionPool
public XaConnectionPool(ActiveMQConnection connection,
ObjectPoolFactory poolFactory,
TransactionManager transactionManager)
createSession
public Session createSession(boolean transacted,
int ackMode)
throws JMSException
- Overrides:
createSession
in class ConnectionPool
- Throws:
JMSException
createXaResource
protected XAResource createXaResource(PooledSession session)
throws JMSException
- Throws:
JMSException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.