activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-161) Graceful shutdown: add a timeout to stop Artemis
Date Mon, 20 Jun 2016 11:11:05 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339352#comment-15339352
] 

Lionel Cons commented on ARTEMIS-161:
-------------------------------------

Isn't it already implemented via the {{graceful-shutdown-timeout}} parameter?

> 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
>            Assignee: Justin Bertram
>             Fix For: 1.4.0
>
>
> 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)

Mime
View raw message