Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The CamelContext provides methods to control its lifecycle:

  • start
  • stop
  • suspend Camel 2.5
  • resume Camel 2.5

The operations is paired: start/stop and suspend/resume.

...

Routes in Camel have the following operations to control its lifecycle

  • start
  • stop
  • suspend
  • resume
  • remove (previously named shutdown)

The remove operation will remove the route, for example in JMX the route will then be unregistered and its gone. So only use remove if you really want to remove the route. The route must have been stopped before you can remove.

...

Info

If a route consumer does not support suspension, it will fallback and stop the route instead.

See Also