Jeff Mesnil created ARTEMIS-161:
-----------------------------------

             Summary: Graceful shutdown: add a timeout to stop Artemis
                 Key: ARTEMIS-161
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-161
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 1.0.0
            Reporter: Jeff Mesnil


We want to provide a graceful shutdown for Artemis to leave some time for JMS 
clients to finish their work before stopping the server.

This is also covered by ARTEMIS-72 which deals with refusing new remote 
connections once the shutdown process is started (while keeping in-vm 
connections opened).

This issue is about specifying a timeout when stopping the ActiveMQServer.
It is possible to provide a general shutdown timeout in the server 
configuration but this is not suitable.
A shutdown process is contextual: it may be a quick shutdown in case of 
emergency (with a timeout of some seconds) or a long timeout (several hours) in 
case of planned upgrade for example.
This parameter should be specified when the admin starts the shutdown process 
and be passed to the ActiveMQServer (and its wrapping JMSServerManger) stop() 
method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to