Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] XA Transactions section is not accurate #264

Closed
zhfeng opened this issue Aug 24, 2023 · 0 comments · Fixed by #284
Closed

[docs] XA Transactions section is not accurate #264

zhfeng opened this issue Aug 24, 2023 · 0 comments · Fixed by #284
Assignees
Labels
docs Improvements or additions to documentation

Comments

@zhfeng
Copy link
Contributor

zhfeng commented Aug 24, 2023

https://docs.quarkiverse.io/quarkus-artemis/dev/index.html#_xa_transactions

XA Transactions must be activated on a per-configuration basis, they are not enabled by default.

To activate XA transactions, we can set quarkus.artemis.xa-enabled / quarkus.artemis."named-configuration".xa-enabled to true.

IIRC, quarkus.artemis.xa-enabled is only used to expose XAConnectionFactory. So in the user application, it can be injected like

@Inject
XAConnectionFactory xaCF;

And this does not active a XA transaction. Currently, if users want to use JMS connection in a XA transaction, the quarkus-pooled-jms has to be introduced in pom.xml and set quarkus.pooled-jms.transaction=xa.

@turing85 turing85 added the docs Improvements or additions to documentation label Aug 25, 2023
@turing85 turing85 self-assigned this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants