Class GenericResourceManager

java.lang.Object
org.apache.activemq.jms.pool.GenericResourceManager

public class GenericResourceManager 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:
   
      
   

   
       
       
       
       
   

   
         
         
         
   
 
  • Constructor Details

    • GenericResourceManager

      public GenericResourceManager()
  • Method Details

    • recoverResource

      public void recoverResource()
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • getResourceName

      public String getResourceName()
    • setResourceName

      public void setResourceName(String resourceName)
    • getTransactionManager

      public jakarta.transaction.TransactionManager getTransactionManager()
    • setTransactionManager

      public void setTransactionManager(jakarta.transaction.TransactionManager transactionManager)
    • getConnectionFactory

      public jakarta.jms.ConnectionFactory getConnectionFactory()
    • setConnectionFactory

      public void setConnectionFactory(jakarta.jms.ConnectionFactory connectionFactory)