Interface CamelPreemptiveClusterService
- All Superinterfaces:
AutoCloseable, CamelClusterService, CamelContextAware, HasCamelContext, HasId, IdAware, Ordered, Service
-
Nested Class Summary
Nested classes/interfaces inherited from interface CamelClusterService
CamelClusterService.Selector -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a view of the cluster bound to a namespace creating it if needed.Methods inherited from interface CamelClusterService
getAttributes, getNamespaces, getOrder, isLeader, releaseView, startView, stopView, unwrapMethods inherited from interface CamelContextAware
setCamelContextMethods inherited from interface HasCamelContext
getCamelContextMethods inherited from interface IdAware
setGeneratedId, setId
-
Method Details
-
getView
Description copied from interface:CamelClusterServiceGet a view of the cluster bound to a namespace creating it if needed. Multiple calls to this method with the same namespace should return the same instance. The instance is automatically started the first time it is instantiated and if the cluster service is ready.- Specified by:
getViewin interfaceCamelClusterService- Parameters:
namespace- the namespace the view refer to.- Returns:
- the view.
- Throws:
Exception- if the view can't be created.
-