You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stepan Shcherbakov (Jira)" <ji...@apache.org> on 2021/03/18 15:59:00 UTC

[jira] [Created] (CAMEL-16371) Make DefaultShutdownStrategy#getExecutorService protected or add method setExecutorService()

Stepan Shcherbakov created CAMEL-16371:
------------------------------------------

             Summary: 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


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)