You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/08/09 23:16:59 UTC
activemq-artemis git commit: ARTEMIS-2021 setting flag before shutdown
Repository: activemq-artemis
Updated Branches:
refs/heads/master 9c905a2b5 -> 6bdfcd04f
ARTEMIS-2021 setting flag before shutdown
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/6bdfcd04
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/6bdfcd04
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/6bdfcd04
Branch: refs/heads/master
Commit: 6bdfcd04f5f2e6a7e8a7dcfeebc6bc0ede89d0d8
Parents: 9c905a2
Author: Clebert Suconic <cl...@apache.org>
Authored: Thu Aug 9 19:16:23 2018 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu Aug 9 19:16:23 2018 -0400
----------------------------------------------------------------------
.../apache/activemq/artemis/core/server/NetworkHealthCheck.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/6bdfcd04/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java
----------------------------------------------------------------------
diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java
index 75d823a..ff4fd86 100644
--- a/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java
+++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/core/server/NetworkHealthCheck.java
@@ -289,10 +289,10 @@ public class NetworkHealthCheck extends ActiveMQScheduledComponent {
} else {
for (ActiveMQComponent component : componentList) {
if (component.isStarted()) {
+ ownShutdown = true;
try {
ActiveMQUtilLogger.LOGGER.stoppingService(component.toString());
component.stop();
- ownShutdown = true;
} catch (Exception e) {
ActiveMQUtilLogger.LOGGER.errorStoppingComponent(e, component.toString());
}