Interface CamelContextLifecycle

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void build()
      Builds the CamelContext.
      void close()
      Closes (Shutdown) the CamelContext, which means it cannot be started again.
      ServiceStatus getStatus()
      Get the status of this CamelContext
      void init()
      Initializes the CamelContext.
      boolean isRunAllowed()
      Helper methods so the CamelContext knows if it should keep running.
      boolean isStarted()
      Whether the CamelContext is started
      boolean isStarting()
      Whether the CamelContext is starting
      boolean isStopped()
      Whether the CamelContext is stopped
      boolean isStopping()
      Whether the CamelContext is stopping
      boolean isSuspended()
      Whether the CamelContext is suspended
      boolean isSuspending()
      Whether the CamelContext is suspending
      void resume()
      Resumes the CamelContext.
      void shutdown()
      Shutdown the CamelContext, which means it cannot be started again.
      void start()
      Starts the CamelContext (important: the start method is not blocked, see more details here).
      void stop()
      Stop and shutdown the CamelContext (will stop all routes/components/endpoints etc and clear internal state/cache).
      void suspend()
      Suspends the CamelContext.
    • Method Detail

      • start

        void start()
        Starts the CamelContext (important: the start method is not blocked, see more details here)
      • .

        See more details at the class-level javadoc at CamelContext.

Throws:
RuntimeCamelException - is thrown if starting failed