You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2016/09/05 11:47:21 UTC

[jira] [Created] (ARTEMIS-712) Artemis does not support local transactions properly over AMQP

Martyn Taylor created ARTEMIS-712:
-------------------------------------

             Summary: Artemis does not support local transactions properly over AMQP
                 Key: ARTEMIS-712
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-712
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Martyn Taylor


The Artemis protocol does not support AMQP transactions properly. 

In AMQP a transaction control link can be created from within a session, this control link is then used to create and control transactions.  Artemis supports local transactions, single transaction per session, single session per transaction.

A declare packet is sent from the client over the control link to instantiate a transaction, receive a transaction id.  In order to enrol a message within a transaction the sender must set the the State of the transfer packet to "TransactionState(txn-id=xxx)".  However, Artemis does not use the TransactionState to decide when to enrol messages in a transaction, instead all subsequent messages sent over the same session as the control link, are automatically enrolled within the transaction.  This is wrong.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)