From 31639782f0ddb31ee32d2d9955420d7ccd183d32 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Wed, 15 Mar 2017 19:22:42 -0400 Subject: [PATCH] ARTEMIS-1041 Adjusting when hearders are being parsed --- .../activemq/artemis/protocol/amqp/broker/AMQPMessage.java | 2 ++ 1 file changed, 2 insertions(+) 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 56ac1f5aac..60aae4cfb0 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(); } }