]
Gytis Trikleris closed JBTM-1167.
---------------------------------
Resolution: Rejected
WS-BA TXFramework quickstart should use @ConfirmCompleted to send
email
-----------------------------------------------------------------------
Key: JBTM-1167
URL:
https://issues.jboss.org/browse/JBTM-1167
Project: JBoss Transaction Manager
Issue Type: Bug
Components: TXFramework
Reporter: Paul Robinson
Priority: Minor
Original Estimate: 1 day
Remaining Estimate: 1 day
There is a bug in this quickstart. The email is sent in the 'placeOrder' method.
If a crash occurs after the email is sent, but before XTS writes the recovery record, then
a compensate will not be triggered. You should wait until an @ConfirmCompleted method is
invoked (with parameter of 'true') is invoked. This is confirmation that the XTS
recovery record was written and a final outcome is guaranteed.