ARTEMIS-1041 Adjusting when hearders are being parsed
This commit is contained in:
parent
8a84b6a1a7
commit
31639782f0
|
@ -80,6 +80,7 @@ public class AMQPMessage extends RefCountMessage {
|
||||||
this.data = Unpooled.wrappedBuffer(data);
|
this.data = Unpooled.wrappedBuffer(data);
|
||||||
this.messageFormat = messageFormat;
|
this.messageFormat = messageFormat;
|
||||||
this.bufferValid = true;
|
this.bufferValid = true;
|
||||||
|
parseHeaders();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -897,5 +898,6 @@ public class AMQPMessage extends RefCountMessage {
|
||||||
record.readBytes(recordArray);
|
record.readBytes(recordArray);
|
||||||
this.data = Unpooled.wrappedBuffer(recordArray);
|
this.data = Unpooled.wrappedBuffer(recordArray);
|
||||||
this.bufferValid = true;
|
this.bufferValid = true;
|
||||||
|
parseHeaders();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue