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

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

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

    https://github.com/apache/activemq-artemis/pull/1158#discussion_r108929638
  
    --- 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 --
    
    This duplicates the existing isPartial() check right below it.


> Performance improvements over AMQP
> ----------------------------------
>
>                 Key: ARTEMIS-1056
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1056
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: clebert suconic
>            Assignee: clebert suconic
>             Fix For: 2.next
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to