You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/29 08:20:00 UTC

[jira] [Commented] (CAMEL-15132) Camel default thread pool - Should be allow core threads to timeout

    [ https://issues.apache.org/jira/browse/CAMEL-15132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119387#comment-17119387 ] 

Claus Ibsen commented on CAMEL-15132:
-------------------------------------

See the default thread pool profile here
https://camel.apache.org/manual/latest/threading-model.html#ThreadingModel-Threadpoolprofiles

So its a matter of flipping the allowCore... option

> Camel default thread pool - Should be allow core threads to timeout
> -------------------------------------------------------------------
>
>                 Key: CAMEL-15132
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15132
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.4.0
>
>
> Lets look at enabling core threads to timeout in the default thread pool profile setting in Camel. As this allows idle threads to terminate.
> For example with EIPs in parallel like splitter then you have 10 threads by default. And if they become idle, then they stay around. We could allow those threads to terminate as well.
> This is a newer option in JDK but we are 8 as minimum so its safe to use now.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)