[
https://issues.apache.org/jira/browse/CAMEL-16371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305988#comment-17305988
]
Claus Ibsen commented on CAMEL-16371:
-------------------------------------
You can plugin a custom ExecutorServiceManager which controls all thread pools
/ executor services that Camel uses. Also what the shutdown strategy uses.
> Make DefaultShutdownStrategy#getExecutorService protected or add method
> setExecutorService()
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-16371
> URL: https://issues.apache.org/jira/browse/CAMEL-16371
> Project: Camel
> Issue Type: Improvement
> Components: came-core
> Reporter: Stepan Shcherbakov
> Priority: Minor
>
> In my project i have to controll all executors manually. That is why i would
> like to make ExecutorService for DefaultShutdownStrategy in my way.
> Unfortionally, getExecutorService() method has private access. Because of
> that i have to overwrite all doShutdown() method, write my own ShutdownTask
> (because it is also not allowed) to make my own ExecutorService.
> Some Camel classes have setExecutorService() method, but
> DefaultShutdownStrategy hasnt.
> Is it possible to make this class more tunable?
> Thank you!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)