tabish121 commented on code in PR #4840: URL: https://github.com/apache/activemq-artemis/pull/4840#discussion_r1513082939
########## artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/AMQPTunneledCoreMessageReader.java: ########## @@ -155,6 +149,10 @@ public Message readBytes(Delivery delivery) { coreMessage.reloadPersistence(buffer, sessionSPI.getCoreMessageObjectPools()); coreMessage.setMessageID(sessionSPI.getStorageManager().generateID()); - return coreMessage; + serverReceiver.onMessageComplete(delivery, coreMessage, deliveryAnnotations); + + close(); Review Comment: I'm saying its wrong and I'm saying its thread unsafe. And if I need to I'm saying -1 until I'm sure it is -- 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