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

Gert Vanthienen resolved SMX4NMR-118.
-------------------------------------

    Resolution: Fixed

First part of the fix adds the possibility to cancel a pending exchange to the 
NMR itself:
http://svn.eu.apache.org/viewvc?view=rev&revision=752229

For the shutdown timeout, we create a Shutdown Monitor thread when shutting 
down the SA.  This can be configured through the OSGi config admin.
http://svn.eu.apache.org/viewvc?view=rev&revision=752231

> Allow configurable shutdown timeout that ensures that a SA can be stopped by 
> canceling sync requests
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-118
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-118
>             Project: ServiceMix NMR
>          Issue Type: Bug
>    Affects Versions: 1.0.0-m3
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 1.0.0
>
>
> Some SU can not be shutdown as long as there are pending sendSync exchanges 
> (e.g. a JMS DefaultMessageListenerContainer will wait for all threads to 
> complete).  While this is a good default behavior, if you have long-running 
> sync exchanges, you might want to be able to forcibly shutdown the SA by 
> canceling all the sync exchanges.

-- 
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