You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Camel Lifecycle

Camel uses a simple lifecycle interface called Service which has a single start() and stop() method.

Various classes implement Service such as CamelContext along with a number of Component and Endpoint classes.

When you use Camel you typically have to start the CamelContext which will start all the various components and endpoints and activate the routing rules until the context is stopped again.

If you are working with Spring you may wish to read the Camel Spring documentation.

  • No labels