[ 
https://issues.apache.org/jira/browse/ARTEMIS-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506664#comment-15506664
 ] 

ASF GitHub Bot commented on ARTEMIS-738:
----------------------------------------

Github user mtaylor commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/782#discussion_r79620023
  
    --- Diff: 
artemis-protocols/artemis-proton-plug/src/main/java/org/proton/plug/context/server/ProtonServerSessionContext.java
 ---
    @@ -60,6 +61,9 @@ public int serverDelivery(Object message, Object 
consumer, int deliveryCount) th
     
        public void addTransactionHandler(Coordinator coordinator, Receiver 
receiver) {
           ProtonTransactionHandler transactionHandler = new 
ProtonTransactionHandler(sessionSPI);
    +
    +      
coordinator.setCapabilities(Symbol.getSymbol("[\"amqp:local-transactions\",\"amqp:multi-txns-per-ssn\",\"amqp:multi-ssns-per-txn\"]"));
    --- End diff --
    
    Like this:
    ```java
                
coordinator.setCapabilities(Symbol.getSymbol("amqp:local-transactions"),
                                                           
Symbol.getSymbol("amqp:multi-txns-per-ssn"),
                                                           
Symbol.getSymbol("amqp:multi-ssns-per-txn"));
    ```


> Improving Transaction support on AMQP
> -------------------------------------
>
>                 Key: ARTEMIS-738
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-738
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: clebert suconic
>             Fix For: 1.5.0
>
>




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

Reply via email to