Versions Compared

Key

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

...

We may have to only shutdown thread pools if CamelContext is stopping. And then if end user stop a route from JMX we can keep the thread pool around.
Only issue is the scheduled pool should stop scheduling tasks, which may be a bit more trickier to avoid.

We have introduced a ShutdownableService to expose a shutdown method which services can implement for their shutdown logic.
Then we can only shutdown thread pools in doShutdown() and not as before in doStop().

Status: IN PROGRESS

The problem with Component, Endpoint

...