org.apache.activemq.pool
Class ActiveMQResourceManager
java.lang.Object
org.apache.activemq.pool.ActiveMQResourceManager
public class ActiveMQResourceManager
- extends java.lang.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:
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 java.lang.String getResourceName()
setResourceName
public void setResourceName(java.lang.String resourceName)
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(javax.transaction.TransactionManager transactionManager)
getConnectionFactory
public javax.jms.ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
Copyright © 2005-2015. All Rights Reserved.