gtully commented on code in PR #4700: URL: https://github.com/apache/activemq-artemis/pull/4700#discussion_r1413658085
########## artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java: ########## @@ -761,7 +760,11 @@ public void fail(ActiveMQException me, String message) { final ThresholdActor<Command> localVisibleActor = openWireActor; if (localVisibleActor != null) { - localVisibleActor.shutdown(() -> doFail(me, message)); Review Comment: afaik, this is the only call to shutdown(runnnable), if this pattern is better then I guess lets remove that method. -- 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