This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 9b074e1 ARTEMIS-3459: use appropriate call to clear up, avoid
creating unnecessary wrapper
9b074e1 is described below
commit 9b074e124ee5d5aaa1e01130f3119a4efb230afb
Author: Robbie Gemmell <[email protected]>
AuthorDate: Fri Sep 3 17:20:24 2021 +0100
ARTEMIS-3459: use appropriate call to clear up, avoid creating unnecessary
wrapper
---
.../org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 3ad1e46..38d4852 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
@@ -691,7 +691,7 @@ public abstract class AMQPMessage extends RefCountMessage
implements org.apache.
}
}
} finally {
- decoder.setByteBuffer(null);
+ decoder.setBuffer(null);
data.rewind();
}
this.messageDataScanned = MessageDataScanningStatus.SCANNED.code;