Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D253200C5C for ; Thu, 16 Mar 2017 00:31:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3BECB160B78; Wed, 15 Mar 2017 23:31:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 84AC8160B8A for ; Thu, 16 Mar 2017 00:31:05 +0100 (CET) Received: (qmail 98228 invoked by uid 500); 15 Mar 2017 23:31:04 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 98126 invoked by uid 99); 15 Mar 2017 23:31:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 23:31:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8C457E00C4; Wed, 15 Mar 2017 23:31:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: clebertsuconic@apache.org To: commits@activemq.apache.org Date: Wed, 15 Mar 2017 23:31:06 -0000 Message-Id: <27fe5725372e4fb1bf6229e5d07c15e3@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [3/4] activemq-artemis git commit: ARTEMIS-1041 Adjusting when hearders are being parsed archived-at: Wed, 15 Mar 2017 23:31:06 -0000 ARTEMIS-1041 Adjusting when hearders are being parsed Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/31639782 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/31639782 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/31639782 Branch: refs/heads/master Commit: 31639782f0ddb31ee32d2d9955420d7ccd183d32 Parents: 8a84b6a Author: Clebert Suconic Authored: Wed Mar 15 19:22:42 2017 -0400 Committer: Clebert Suconic Committed: Wed Mar 15 19:27:59 2017 -0400 ---------------------------------------------------------------------- .../apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/31639782/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java ---------------------------------------------------------------------- diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java index 56ac1f5..60aae4c 100644 --- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java +++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java @@ -80,6 +80,7 @@ public class AMQPMessage extends RefCountMessage { this.data = Unpooled.wrappedBuffer(data); this.messageFormat = messageFormat; this.bufferValid = true; + parseHeaders(); } @@ -897,5 +898,6 @@ public class AMQPMessage extends RefCountMessage { record.readBytes(recordArray); this.data = Unpooled.wrappedBuffer(recordArray); this.bufferValid = true; + parseHeaders(); } }