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 2012/06/24 11:50:42 UTC
[jira] [Created] (CAMEL-5385) Allow to configure shared thread pool
for scheduled consumers
Claus Ibsen created CAMEL-5385:
----------------------------------
Summary: Allow to configure shared thread pool for scheduled consumers
Key: CAMEL-5385
URL: https://issues.apache.org/jira/browse/CAMEL-5385
Project: Camel
Issue Type: New Feature
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.11
For example if you have many routes that starts from a file endpoint, then they are scheduled consumers, each using its own private thread pool with 1 scheduled thread.
So for example having 30 file routes, means 30 threads. The JDK scheduled thread pool is always a fixed size.
We should allow people to configure a custom thread pool, so they can use a single shared pool, with a number of fixed thread, that is shared among the 30 file consumers.
--
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
[jira] [Resolved] (CAMEL-5385) Allow to configure shared thread
pool for scheduled consumers
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5385.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.11)
2.10.0
There is a new scheduledExecutorService option you can configure on the scheduled endpoints, such as file/ftp etc.
> Allow to configure shared thread pool for scheduled consumers
> -------------------------------------------------------------
>
> Key: CAMEL-5385
> URL: https://issues.apache.org/jira/browse/CAMEL-5385
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.10.0
>
>
> For example if you have many routes that starts from a file endpoint, then they are scheduled consumers, each using its own private thread pool with 1 scheduled thread.
> So for example having 30 file routes, means 30 threads. The JDK scheduled thread pool is always a fixed size.
> We should allow people to configure a custom thread pool, so they can use a single shared pool, with a number of fixed thread, that is shared among the 30 file consumers.
--
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