Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3872

Implement "exactly once" delivery with JDBC and XA in the event of a failure post prepare

    XMLWordPrintableJSON

Details

    Description

      JDBC store does not honor the prepare phase so a broker failure after prepare always results in a rollback which is in violation of the contract.
      In the cases where XA is required, the store needs to do its best to respect a prepare outcome.
      Having the TM use last resource commit one phase (or the one phase commit optimisation) avoids this issue but is not always possible.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: