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

Allow isSameRM override from broker identity to connection identity to avoid xa.join

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      When two connection are involved in an xa transaction, 1pc is great and basing the xaresource identity on the broker identity makes sense. However in the cases that an joined xa association is not ended, which seems ok from an xa perspective, a joined association is left in error.
      To avoid this, we need a way to force 2pc across multiple connections to the same broker.
      A broker url param like jms.rmIdFromConnectionId=true will do the trick and ensure that the RM identity is tied to the connection and not the broker.

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              gtully Gary Tully

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment