...
ShutdownRoute
ShutdownRunningTaks
These options can be configured on two scopes: context
and route
. Where a route will fallback to the context
scoped option, if not explicit configured. (same principle as ErrorHandler etc.).
ShutdownRoute
This option can control how a given route should act during graceful shutdown. It has two values Default
and Defer
. The Default
is obviously the default option which lets Camel shutdown the route as early as possible. The Defer
is used to defer shutting down this route to a later stage. This is useable if other routes is dependent upon it. For example an internal route which other routes reuse.
...