fix intermittent failure of org.apache.activemq.artemis.tests.integration.client.ConsumerTest#testSendAMQPReceiveCore

This commit is contained in:
gtully 2021-12-08 15:04:39 +00:00 committed by Gary Tully
parent de7a1805a4
commit dcb6292def
1 changed files with 3 additions and 0 deletions

View File

@ -971,6 +971,9 @@ public abstract class AMQPMessage extends RefCountMessage implements org.apache.
scanMessageData();
messageDataScanned = MessageDataScanningStatus.SCANNED.code;
modified = false;
// reinitialise memory estimate as message will already be on a queue
// and lazy decode will want to update
getMemoryEstimate();
}
@Override