org.apache.activemq.pool
Class ActiveMQResourceManager
java.lang.Object
org.apache.activemq.pool.ActiveMQResourceManager
public class ActiveMQResourceManager
- extends Object
This class allows wiring the ActiveMQ broker and the Geronimo transaction manager
in a way that will allow the transaction manager to correctly recover XA transactions.
For example, it can be used the following way:
Nested Class Summary |
static class |
ActiveMQResourceManager.Recovery
This class will ensure the broker is properly recovered when wired with
the Geronimo transaction manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveMQResourceManager
public ActiveMQResourceManager()
recoverResource
public void recoverResource()
getResourceName
public String getResourceName()
setResourceName
public void setResourceName(String resourceName)
getTransactionManager
public TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
getConnectionFactory
public ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.