ARTEMIS-1041 Adjusting when hearders are being parsed

This commit is contained in:
Clebert Suconic 2017-03-15 19:22:42 -04:00
parent 8a84b6a1a7
commit 31639782f0
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
}