activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lulf <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #725: Add forceShutdown core management operat...
Date Thu, 18 Aug 2016 06:49:42 GMT
Github user lulf commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/725#discussion_r75256140
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/ActiveMQServerControlImpl.java
---
    @@ -1983,6 +1983,12 @@ public void forceFailover() throws Exception {
        }
     
        @Override
    +   public void forceShutdown() throws Exception {
    +      forceFailover();
    +      System.exit(0);
    --- End diff --
    
    This is indeed what is happening. I originally invoked forceFailover() which calls server.stop(true);
 The server prints the message '06:44:24,063 INFO  [org.apache.activemq.artemis.core.server]
AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.5.0-SNAPSHOT [2525ae85-650f-11e6-bc19-0242fee3c111]
stopped, uptime 23.737 seconds' and continues to run.
    
    I will raise a jira for this then.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message