Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.20.0
-
Component/s: camel-core
-
Labels:
-
Estimated Complexity:Unknown
Description
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.
// get and increase reference CamelClusterView view = clusterService.getView("..."); // release the view and stop it when ref count is zero. boolean released = clusterService.releaseView(view);