You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2017/05/08 19:19:04 UTC

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

     [ https://issues.apache.org/jira/browse/ARTEMIS-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-712.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.next

> 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
>             Fix For: 2.next
>
>
> 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.15#6346)