Interface CamelPreemptiveClusterService

    • Method Detail

      • getView

        CamelPreemptiveClusterView getView​(String namespace)
                                    throws Exception
        Description copied from interface: CamelClusterService
        Get 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:
        getView in interface CamelClusterService
        Parameters:
        namespace - the namespace the view refer to.
        Returns:
        the view.
        Throws:
        Exception - if the view can't be created.