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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment