[ 
https://issues.apache.org/activemq/browse/SM-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51833#action_51833
 ] 

Jean-Baptiste Onofré commented on SM-1854:
------------------------------------------

I have checked into the ServiceAssemblyLifeCycle class and actually the 
shutdown() method doesn't call the stop() method. It means that it's possible 
to shutdown() a SA without stopping it before.

I'm going to modify the shutdown() method to check the current state of the SA 
and if it's not stopped, stop it before calling shutdown process.

I will check if this behavior is the same into a SU.

> AutoDeploymentService does not stop SA before shutting it down
> --------------------------------------------------------------
>
>                 Key: SM-1854
>                 URL: https://issues.apache.org/activemq/browse/SM-1854
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.3
>            Reporter: Pavel Drasil
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>
> Service assemblies are not stopped before being shut down in 
> AutoDeploymentService.updateServiceAssembly() and removeArchive(). This is a 
> violation of the SA lifecycle as described in the JBI spec.

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