Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From Camel 2.10.2 onwards Camel the graceful shutdown(executorService) method from ExecutorServiceManager will shutdown graceful at first, until a timeout value is hit. After that it shutdown aggressively, again using the timeout value to wait for the operation to complete. This means you can wait at most 2 x timeout for shutting down the thread pool.
The timeout value is by default 5000 30000 millis. You can configure a custom value on the ExecutorServiceManager if needed.

During shutdown Camel will log every 5th second at INFO level progress of shutting down the thread pool. For example in case a shutdown takes a while, then there is activity in the logs.

See Also