4 Replies Latest reply on Dec 1, 2015 9:12 AM by Michael Musgrove

    Requirements for ordering RecoveryModules

    Michael Musgrove Master

      gytis came across an issue where the REST-AT -> JTA bridge recovery is failing. He found the root cause to be that the XARecoveryModule is recovering the bridge before the InboundBridgeRecoveryModule gets a chance to run. We had a similar issue with the CMR functionality where the CommitMarkableResourceRecordRecoveryModule had to run before the AtomicActionRecoveryModule tried to recover it and the fix we applied there was to hard code the order via the WildFly subsystem (see ArjunaRecoveryManagerService). Since we now have two examples where the ordering is an issue I think it is time we added an interface for ordering RecoveryModules.