You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2016/01/22 10:23:39 UTC

[jira] [Resolved] (ARTEMIS-297) Handle exceptions during server stop

     [ https://issues.apache.org/jira/browse/ARTEMIS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martyn Taylor resolved ARTEMIS-297.
-----------------------------------
    Resolution: Fixed

> Handle exceptions during server stop
> ------------------------------------
>
>                 Key: ARTEMIS-297
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-297
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Martyn Taylor
>            Assignee: Martyn Taylor
>
> The server stop method is quite brittle.  If any component throws an exception during shutdown, the exception is thrown and the method exits.  Instead the stop method on the server should be able to handle such exceptions and continue shutting down all components and eventually stop the ExecutorServices.  Failure to do so can lead to leaking threads.



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