[
https://issues.apache.org/jira/browse/CAMEL-17014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151611#comment-18151611
]
Claus Ibsen commented on CAMEL-17014:
-------------------------------------
Runtimes can already provide Camel's thread pools through the
`ThreadPoolFactory` SPI, and with Java 21 as the minimum
virtual threads can be turned on, which removes most of the reasons to cap a
shared worker pool. Many components also
run on the threads of their client library, which a Camel pool would not
replace. There has been no demand since 2021,
so closing this ticket.
_Claude Code on behalf of davsclaus_
> camel-core - SPI for shared Camel worker thread pool
> ----------------------------------------------------
>
> Key: CAMEL-17014
> URL: https://issues.apache.org/jira/browse/CAMEL-17014
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: Future
>
>
> Some components have their own thread pool for worker threads that they use.
> For example salesforce, kafka, jms, and others.
> They use this continue routing in Camel when the component has received a
> response or ack from the underlying 3rd party (kafka, jms, salesforce etc.)
> We should consider a API with a SPI so we can use a shared worker pool from
> camel-core that has a fixed set of worker threads. Then its easier to control
> total number of threads / pools etc.
> And with a SPI then we can delegate this to another runtime such as vertx,
> quarkus etc that has such concept.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)