Class ActiveMQXAResourceWrapper

java.lang.Object
org.apache.activemq.artemis.service.extensions.xa.recovery.ActiveMQXAResourceWrapper
All Implemented Interfaces:
XAResource, org.apache.activemq.artemis.api.core.client.SessionFailureListener, org.apache.activemq.artemis.core.remoting.FailureListener

public class ActiveMQXAResourceWrapper extends Object implements XAResource, org.apache.activemq.artemis.api.core.client.SessionFailureListener
XAResourceWrapper.

Mainly from org.jboss.server.XAResourceWrapper from the JBoss AS server module

The reason why we don't use that class directly is that it assumes on failure of connection the RM_FAIL or RM_ERR is thrown, but in Apache Artemis we throw XA_RETRY since we want the recovery manager to be able to retry on failure without having to manually retry

  • Constructor Details

    • ActiveMQXAResourceWrapper

      public ActiveMQXAResourceWrapper(XARecoveryConfig... xaRecoveryConfigs)
  • Method Details