jbertram commented on code in PR #5448:
URL: https://github.com/apache/activemq-artemis/pull/5448#discussion_r1917220576


##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPLargeMessage.java:
##########
@@ -660,7 +659,7 @@ public void referenceOriginalMessage(final Message 
original, final SimpleString
 
       super.referenceOriginalMessage(original, originalQueue);
 
-      if (original instanceof LargeServerMessageImpl) {
+      if (original instanceof AMQPLargeMessage) {

Review Comment:
   When you say, "it wasn't happening before," what exactly do you mean? Do you 
mean that 
`org.apache.activemq.artemis.core.persistence.impl.journal.LargeBody#referenceOriginalMessage`
 wasn't being invoked since this `instanceof` would never succeed?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to