Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
The broker is frequently used in transactions from the Wildfly/EAP app server, acting as an XAResource manager to the app server's Transaction Manager. In distributed environments, multiple app server instances can be communicating to the same broker.
It is common for these app servers to be incorrectly configured, using a shared default nodeId, when this value is required to be unique for safe operation. App server instances don't necessarily communicate peer to peer, so can't detect this situation. The broker, however, sees nodeId values from all its app server clients, so can detect this.
Defining a new broker plugin interface to track XA transactions would allow to implement an external plugin to detect the XA client misconfiguration.