Interface LifecycleStrategy

    • Method Detail

      • onContextStarted

        default void onContextStarted​(CamelContext context)
        Notification on started CamelContext.
        Parameters:
        context - the camel context
      • onContextStopping

        default void onContextStopping​(CamelContext context)
        Notification on stopping a CamelContext.
        Parameters:
        context - the camel context
      • onContextStopped

        default void onContextStopped​(CamelContext context)
        Notification on stopped CamelContext.
        Parameters:
        context - the camel context
      • onComponentAdd

        void onComponentAdd​(String name,
                            Component component)
        Notification on adding an Component.
        Parameters:
        name - the unique name of this component
        component - the added component
      • onComponentRemove

        void onComponentRemove​(String name,
                               Component component)
        Notification on removing an Component.
        Parameters:
        name - the unique name of this component
        component - the removed component
      • onEndpointAdd

        void onEndpointAdd​(Endpoint endpoint)
        Notification on adding an Endpoint.
        Parameters:
        endpoint - the added endpoint
      • onEndpointRemove

        void onEndpointRemove​(Endpoint endpoint)
        Notification on removing an Endpoint.
        Parameters:
        endpoint - the removed endpoint
      • onLanguageCreated

        default void onLanguageCreated​(String name,
                                       Language language)
        Notification on a Language instance being resolved.
        Parameters:
        name - the unique name of the Language
        language - the created Language
      • onServiceAdd

        void onServiceAdd​(CamelContext context,
                          Service service,
                          Route route)
        Notification on adding a Service.
        Parameters:
        context - the camel context
        service - the added service
        route - the route the service belongs to if any possible to determine
      • onServiceRemove

        void onServiceRemove​(CamelContext context,
                             Service service,
                             Route route)
        Notification on removing a Service.
        Parameters:
        context - the camel context
        service - the removed service
        route - the route the service belongs to if any possible to determine
      • onRoutesAdd

        void onRoutesAdd​(Collection<Route> routes)
        Notification on adding Route(s).
        Parameters:
        routes - the added routes
      • onRoutesRemove

        void onRoutesRemove​(Collection<Route> routes)
        Notification on removing Route(s).
        Parameters:
        routes - the removed routes
      • onRouteContextCreate

        void onRouteContextCreate​(Route route)
        Notification on creating Route(s).
        Parameters:
        route - the created route context
      • onThreadPoolAdd

        void onThreadPoolAdd​(CamelContext camelContext,
                             ThreadPoolExecutor threadPool,
                             String id,
                             String sourceId,
                             String routeId,
                             String threadPoolProfileId)
        Notification on adding a thread pool.
        Parameters:
        camelContext - the camel context
        threadPool - the thread pool
        id - id of the thread pool (can be null in special cases)
        sourceId - id of the source creating the thread pool (can be null in special cases)
        routeId - id of the route for the source (is null if no source)
        threadPoolProfileId - id of the thread pool profile, if used for creating this thread pool (can be null)
      • onThreadPoolRemove

        void onThreadPoolRemove​(CamelContext camelContext,
                                ThreadPoolExecutor threadPool)
        Notification on removing a thread pool.
        Parameters:
        camelContext - the camel context
        threadPool - the thread pool