...
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 DONE
The problem with Component, Endpoint
...
If the EIPS which leverages a ExecutorService, mandates its being created and passed to it, we can enforce creating/lookup the pool during route creation, which allows us to have the route information as well, so we know which routes creates which pools. By passing in null
we loose this opportunity.
That is why all the EIP Processors should be refactored to have ExeuctorService as parameter. IN PROGRESS DONE
Let Camel keep track of created pools
...