diff --git a/runtime/src/main/java/io/quarkiverse/ironjacamar/runtime/TransactionRecoveryManager.java b/runtime/src/main/java/io/quarkiverse/ironjacamar/runtime/TransactionRecoveryManager.java index 83f20fa..14f21f0 100644 --- a/runtime/src/main/java/io/quarkiverse/ironjacamar/runtime/TransactionRecoveryManager.java +++ b/runtime/src/main/java/io/quarkiverse/ironjacamar/runtime/TransactionRecoveryManager.java @@ -74,6 +74,7 @@ void initialize(XAResourceRecovery recovery) throws ResourceException { public void close() { for (XAResourceRecovery xrr : recoverySet) { try { + transactionIntegration.getRecoveryRegistry().removeXAResourceRecovery(xrr); xrr.shutdown(); } catch (Exception e) { QuarkusIronJacamarLogger.log.errorDuringRecoveryShutdown(e);