mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-05 17:00:17 +00:00
This closes #3403
This commit is contained in:
commit
5dd147a023
@ -202,7 +202,7 @@ public class AMQPStandardMessage extends AMQPMessage {
|
|||||||
this.modified = false;
|
this.modified = false;
|
||||||
this.messageDataScanned = MessageDataScanningStatus.NOT_SCANNED.code;
|
this.messageDataScanned = MessageDataScanningStatus.NOT_SCANNED.code;
|
||||||
int estimated = Math.max(1500, data != null ? data.capacity() + 1000 : 0);
|
int estimated = Math.max(1500, data != null ? data.capacity() + 1000 : 0);
|
||||||
ByteBuf buffer = PooledByteBufAllocator.DEFAULT.heapBuffer(estimated);
|
ByteBuf buffer = PooledByteBufAllocator.DEFAULT.directBuffer(estimated);
|
||||||
EncoderImpl encoder = TLSEncode.getEncoder();
|
EncoderImpl encoder = TLSEncode.getEncoder();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user