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

Claus Ibsen resolved CAMEL-12765.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

gnodet has implement this

> Improve service lifecycle semantics
> -----------------------------------
>
>                 Key: CAMEL-12765
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12765
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.0.0
>
>
> While working on camel-core, I found out that the service lifecycle 
> definition and implementation is big dodgy.
>  In particular:
>  * the state is kept using multiple AtomicBoolean instead of a single field
>  * possible thread safety issues as status changes are not synchronized
>  * incoherence between javadoc and implementation (for example a shut down 
> service is not supposed to be started again)
>  * not very clear semantic differences between suspended / stopped / shutdown
>  * _stopping_ the camel context does _shutdown_ child services
>  * the _ShutdownStrategy_ does _stop_ services



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to