Chapter 7. Configuring the transaction node name identifier for XA transactions
You can set a unique node identifier for XA transactions that have multiple resources. When you create a transaction the node name identifier becomes part of the transaction ID. The identifier allows the transaction manager to recognize the XA transaction counterparts created in a database or by a JMS broker. The transaction manager can roll back the transaction counterparts during recovery.
Procedure
Set a value for the
quarkus.transaction-manager.node-name
property in yourapplication.properties
file:quarkus.transaction-manager.node-name=<unique_id>
NoteMake sure to set a unique node name identifier for each deployment of transaction manager. The node identifier must be stable over the transaction manager restarts.