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

Work on CAMEL-11801 started by Luca Burgazzoli.
-----------------------------------------------
> cluster view : use reference count to join/leave a cluster
> ----------------------------------------------------------
>
>                 Key: CAMEL-11801
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11801
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>              Labels: clustering
>             Fix For: 2.20.0
>
>
> As today when a view is acquired it is also automatically started and never 
> stopped until the service it belongs to is stopped, there should be a way to 
> stop start/stop views according to effective usage.
> {code:java}
> // get and increase reference
> CamelClusterView view = clusterService.getView("...");
> // release the view and stop it when ref count is zero.
> boolean released = clusterService.releaseView(view);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to