From 3171f34cd0317ec8eec2cf7c525a381a9ba21232 Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Wed, 29 Nov 2023 21:11:54 -0300 Subject: [PATCH] Apply code review suggestions --- .../ironjacamar/runtime/TransactionRecoveryManager.java | 1 + 1 file changed, 1 insertion(+) 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);