Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1167

WS-BA TXFramework quickstart should use @ConfirmCompleted to send email

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compensations
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paul.robinson Paul Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified