clebertsuconic commented on code in PR #6218:
URL: https://github.com/apache/artemis/pull/6218#discussion_r2764702625


##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/AMQPLargeMessageWriter.java:
##########
@@ -173,6 +173,11 @@ private void tryDelivering() {
          logger.trace("AMQP Large Message Writer was closed before queued 
write attempt was executed");
          return;
       }
+      if (protonSender.getSession().getConnection().getRemoteState() != 
EndpointState.ACTIVE || 
protonSender.getSession().getConnection().getLocalState() != 
EndpointState.ACTIVE) {

Review Comment:
   BTW: The thread being used here is the netty thread, as this is started with 
connection.runLater calls. so this is in the same thread.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to