Gary Tully created AMQ-3872:
-------------------------------

             Summary: Implement "exactly once" delivery with JDBC and XA in the 
event of a failure post prepare
                 Key: AMQ-3872
                 URL: https://issues.apache.org/jira/browse/AMQ-3872
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.6.0
         Environment: jdbc persistence adapter, XA
            Reporter: Gary Tully
             Fix For: 5.7.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to