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

Claus Ibsen commented on CAMEL-20927:
-------------------------------------

Closing as Won't Fix for Camel 4. CallerRuns is the documented default of the 
thread pools (threading-model.adoc), and switching every Camel user to Abort is 
a behaviour change that fits a major version better. Abort can be chosen today, 
for the default profile or per profile, for example with 
camel.threadpool.rejectedPolicy=Abort in Camel Main, or rejectedPolicy on a 
threadPoolProfile. This can be raised again for Camel 5.

_Claude Code on behalf of davsclaus_

> camel-core - Default thread pool should use abort instead of caller runs for 
> rejection
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20927
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20927
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>
> See CAMEL-16829
> It may be better to reject tasks if thread pools are exhausted instead of 
> stealing the current thread as it can lead to stuck threads in (advanced and 
> special situations) or users not aware that their thread pools are not sized 
> correctly and can cause system degration. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to