clebertsuconic commented on code in PR #4840: URL: https://github.com/apache/activemq-artemis/pull/4840#discussion_r1511926376
########## artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/AMQPBrokerConnection.java: ########## @@ -847,6 +847,7 @@ public MessageWriter selectOutgoingMessageWriter(ProtonServerSenderContext sende if (message.isLargeMessage()) { selected = largeMessageWriter != null ? largeMessageWriter : (largeMessageWriter = new AMQPLargeMessageWriter(sender)); + largeMessageWriter.openContext(reference); Review Comment: this method only makes sense in the context of the AMQP Large Message. It doesn't make sense in any other writers (not yet at least). I've tried to make them all use this method, but the other writers were writing it asynchronously as I mentioned earlier. -- 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