ARTEMIS-2021 setting flag before shutdown

This commit is contained in:
Clebert Suconic 2018-08-09 19:16:23 -04:00
parent 9c905a2b58
commit 6bdfcd04f5
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}