[jbossts-issues] [JBoss JIRA] (JBTM-1167) WS-BA TXFramework quickstart should use @ConfirmCompleted to send email

Gytis Trikleris (JIRA) issues at jboss.org
Thu Jul 21 10:41:00 EDT 2016


     [ https://issues.jboss.org/browse/JBTM-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list