]
Work on JBTM-2826 started by Romain Pelisse.
--------------------------------------------
JBoss Transactions SPI is missing TwoPhaseOutcome constants
-----------------------------------------------------------
Key: JBTM-2826
URL:
https://issues.jboss.org/browse/JBTM-2826
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Application Server Integration
Reporter: David Lloyd
Assignee: Romain Pelisse
Priority: Minor
The jboss-transaction-spi allows applications to be decoupled from Narayana's
implementation details, however the {{ImportedTransaction#doPrepare}} method returns an
integer that is defined by constants in a class inside of
{{com.arjuna.ats.arjuna.coordinator}}. These constants should be copied into the SPI.
The workaround is to copy the constant values.