activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtaylor <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #782: ARTEMIS-738 Improving TX support on AMQP
Date Tue, 20 Sep 2016 14:13:25 GMT
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"));
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message