activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gemmellr <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1158: ARTEMIS-1056 & another NO-JIRA fix
Date Thu, 30 Mar 2017 16:53:57 GMT
Github user gemmellr commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1158#discussion_r108979183
  
    --- Diff: artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/ProtonServerReceiverContext.java
---
    @@ -146,11 +146,14 @@ private RoutingType getRoutingType(Symbol[] symbols) {
        public void onMessage(Delivery delivery) throws ActiveMQAMQPException {
           Receiver receiver;
           try {
    -         receiver = ((Receiver) delivery.getLink());
     
              if (!delivery.isReadable()) {
                 return;
              }
    +         if (delivery.isPartial()) {
    --- End diff --
    
    For posterity, the duplicate check has been removed, via NO-JIRA commit 86779195fa4d88ee7fce2a5408b294e1cffd9bcc
rather than against ARTEMIS-1056 like the original.


---
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