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

XAException message should encode the xaErrorCode

    XMLWordPrintableJSON

Details

    Description

      openwire will only marshall the message string, so an XAException will always be initialised clients side with errorCode=0, which maps to XA_OK or an invalid error code.
      Appending xaErrorCode:X to the message will allow the XAException.errorCode to be extracted client side and propagated correctly, so a TM can respond to an XAER_NOTA.
      Currently we set a generic XAER_RMERR which can force the TM to retry.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: