camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-1588) ExecutorService configuration
Date Fri, 05 Mar 2010 13:43:44 GMT


Claus Ibsen commented on CAMEL-1588:

Added a threadPool in Spring XML so you can easily define custom pools and use in Camel routes

    <camelContext id="camel" xmlns="">

        <!-- define a custom thread pool -->
        <threadPool id="myPool" poolSize="2" maxPoolSize="4" threadName="myPool"/>

            <from uri="direct:start"/>
            <!-- use the custom thread pool in the camel route -->
            <threads executorServiceRef="myOtherPool">
                <to uri="mock:result"/>

trunk: 919408.

> ExecutorService configuration
> -----------------------------
>                 Key: CAMEL-1588
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
> Camel uses some thread pools, for component, endpoint and processor.
> We should have some default configuration that is easy to configure with Camel to adjust
pool sizes for individual/groups/type etc.
> By not they use 5 as the default pool size. And have their own executor unless configured

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message