...
The ShutdownStrategy
is JMX aware as well so you can manage it from a JMX console. For example you can change the timeout value.
Shutting down individual routes
Available as of Camel 2.3
Its now possible to graceful shutdown an individual route using shutdownRoute(routeId)
method on CamelContext
. Its also possible to provide a specific timeout to use instead of the default timeout settings using {{shutdownRoute(routeId, timeout, timeUnit).
Developer related
If you develop your own Camel component or want to implement your own shutdown strategy then read this section for details.
...