diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java index 969493eae4..8dec6a45ab 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java @@ -626,8 +626,9 @@ public class ActiveMQServerImpl implements ActiveMQServer { break; case LOG: criticalAction = criticalComponent -> { - sendCriticalNotification(criticalComponent); ActiveMQServerLogger.LOGGER.criticalSystemLog(criticalComponent); + threadDump(); + sendCriticalNotification(criticalComponent); }; break; }