org.apache.aries.transaction.jms
Class RecoverablePooledConnectionFactory
java.lang.Object
org.apache.aries.transaction.jms.PooledConnectionFactory
org.apache.aries.transaction.jms.internal.XaPooledConnectionFactory
org.apache.aries.transaction.jms.RecoverablePooledConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory
public class RecoverablePooledConnectionFactory
- extends XaPooledConnectionFactory
A pooled connection factory which is dedicated to work with the Geronimo/Aries
transaction manager for proper recovery of in-flight transactions after a
crash.
| Methods inherited from class org.apache.aries.transaction.jms.PooledConnectionFactory |
createConnection, createConnection, createConnection, createPoolFactory, getConnectionFactory, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActive, getPoolFactory, setBlockIfSessionPoolIsFull, setConnectionFactory, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActive, setPoolFactory, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoverablePooledConnectionFactory
public RecoverablePooledConnectionFactory()
getName
public String getName()
setName
public void setName(String name)
- The unique name for this managed XAResource. This name will be used
by the transaction manager to recover transactions.
- Parameters:
name -
createConnectionPool
protected ConnectionPool createConnectionPool(javax.jms.Connection connection)
throws javax.jms.JMSException
- Overrides:
createConnectionPool in class XaPooledConnectionFactory
- Throws:
javax.jms.JMSException
start
public void start()
- Overrides:
start in class PooledConnectionFactory
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.