[
https://issues.apache.org/jira/browse/ACTIVEMQ6-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296987#comment-14296987
]
Justin Bertram commented on ACTIVEMQ6-52:
-----------------------------------------
[~jmesnil], in the case where you want to have a different timeout you should
simply be able to invoke
org.apache.activemq.core.server.ActiveMQServer.getConfiguration().setGracefulShutdownTimeout(long)
and then invoke org.apache.activemq.core.server.ActiveMQServer.stop(boolean).
Is that not sufficient for your needs?
> Graceful Shutdown
> -----------------
>
> Key: ACTIVEMQ6-52
> URL: https://issues.apache.org/jira/browse/ACTIVEMQ6-52
> Project: Apache ActiveMQ 6
> Issue Type: Bug
> Reporter: clebert suconic
> Assignee: Justin Bertram
> Fix For: 6.0.0
>
>
> We should provide a way for the system to gracefully shutdown connections
> allowing them to finish their work before the server is going out.
> This could be done by issuing a close from Server to client on all the
> connections.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)