clebertsuconic commented on code in PR #4840: URL: https://github.com/apache/activemq-artemis/pull/4840#discussion_r1513284534
########## 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 added a commit to be squashed addressing this ########## artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java: ########## @@ -126,6 +126,9 @@ public final Channel getNettyChannel() { @Override public final void setAutoRead(boolean autoRead) { channel.config().setAutoRead(autoRead); + if (autoRead) { + channel.read(); + } Review Comment: I added a commit to be squashed addressing this -- 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