activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5311) XAException message should encode the xaErrorCode
Date Thu, 07 Aug 2014 12:23:11 GMT
Gary Tully created AMQ-5311:
-------------------------------

             Summary: XAException message should encode the xaErrorCode
                 Key: AMQ-5311
                 URL: https://issues.apache.org/jira/browse/AMQ-5311
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, JMS client
    Affects Versions: 5.10.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.11.0


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message