[ 
https://issues.apache.org/activemq/browse/AMQ-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55387#action_55387
 ] 

Dejan Bosanac commented on AMQ-2486:
------------------------------------

Using halt() in shutdown hook will break this functionality, since it is 
intended to notify the embedding container (servicemix) of a shutdown. The 
shutdown hook is replaced with calling System.exit() from a separate thread 
during broker stop().

> systemExitOnShutdown="true" causes broker shutdown to hang
> ----------------------------------------------------------
>
>                 Key: AMQ-2486
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2486
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.3.1, 5.4.0
>
>
> To reproduce:
> * add systemExitOnShutdown="true" to the <broker> tag
> * start a broker
> * try to stop the broker

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to