Skip to content

Updating the JMS recovery#491

Merged
marcosgopen merged 1 commit intojbosstm:mainfrom
marcosgopen:jms-recovery
Apr 27, 2026
Merged

Updating the JMS recovery#491
marcosgopen merged 1 commit intojbosstm:mainfrom
marcosgopen:jms-recovery

Conversation

@marcosgopen
Copy link
Copy Markdown
Member

@marcosgopen marcosgopen commented Oct 30, 2025

The XaResourceRecovery from ActiveMQ cannot be registered as it doesn't implement the XAResourceRecovery.

Fix messages produced on wrong XASession (not enlisted in transaction);
fixed connection leak in initialiseActiveMQClient();
replaced broken ActiveMQXAResourceRecovery with XAResourceRecoveryHelper via XARecoveryModule;
swapped resource enlistment order so JMS commits before DummyXAResource halts (ensures message data survives Runtime.halt())

Copy link
Copy Markdown
Member

@mmusgrov mmusgrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good improvement

@marcosgopen marcosgopen merged commit 532cf65 into jbosstm:main Apr 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants