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

Claus Ibsen commented on CAMEL-14882:
-------------------------------------

You can now configure this ala

        main.addProperty("camel.threadpool[myPool].id", "myPool");
        main.addProperty("camel.threadpool[myPool].pool-size", "1");
        main.addProperty("camel.threadpool[myPool].max-pool-size", "2");
        main.addProperty("camel.threadpool[myPool].rejectedPolicy", 
"DiscardOldest");


> camel-main - Make configuring default thread pool profile settings easier
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-14882
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14882
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.3.0
>
>
> We can expose the options for thread pool profile and make them more easier 
> to configure via camel-main / camel-spring-boot.
> Then you can for example lower the queue size from 1000 to something smaller 
> etc.



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

Reply via email to