You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/02/20 06:12:03 UTC

[jira] Reopened: (SMX4NMR-99) org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.init() needs to do transition from start state to stop first before shutdown.

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

Freeman Fang reopened SMX4NMR-99:
---------------------------------


Hi Ulhas,
This commit break 
nmr/jbi/itests/ManagementTest
And IMO, the transition(State.Shutdown) in org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.init() ensure the SA state is SHUTDOWN when deploy it, it shouldn't be removed.

Regards
Freeman

> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.init() needs to do transition from start state to stop first before shutdown. 
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-99
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-99
>             Project: ServiceMix NMR
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Ulhas Bhole
>            Assignee: Ulhas Bhole
>             Fix For: 1.0.0
>
>
> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.init() needs to do transition from start state to stop first before shutdown.
> I think the nmr when deploy JBI SA it gets started (may be because it is deployed internally as bundle) so to put it in shutdown state (as per specs.) we need to stop it fist and then call shutdown. Simple fix is to add transition(State.Stopped) call before the shutdown transition but need to think about other cases when it will reach here.

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