[
https://issues.apache.org/jira/browse/CAMEL-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5074.
--------------------------------
Resolution: Not A Problem
We can just use newThreadPool(source, name, 0, 1) instead. That should be fine.
> Add option to newSingleThreadExecutor to allow thread pool to shrink to 0 in
> case task is not needed to run all the time
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5074
> URL: https://issues.apache.org/jira/browse/CAMEL-5074
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.10.0
>
>
> Sometimes you want to use a async task to run some task, and for that the
> thread pools can be used.
> However there may not be a need for the thread pool to keep 1 thread in the
> pool. So we should allow the pool to shrink to 0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira