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

Preben Asmussen commented on CAMEL-9460:
----------------------------------------

Current default is a threadpool with a pool size of 10 to support 1 Channel 
(the number of concurrent consumers, default is 1)
I wonder if it would enough just to allokate as many threads to the pool as 
there are concurrent consumers. 

> RabbitMQ - Wonder if the consumer can use a grown/shrink thread pool
> --------------------------------------------------------------------
>
>                 Key: CAMEL-9460
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9460
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-rabbitmq
>            Reporter: Claus Ibsen
>             Fix For: Future
>
>
> The consumer creates a default thread pool of 10. You can configure the size 
> but the pool is fixed.
> Wonder if we should use a bounded pool so we can have min-max so it can grow 
> depending on demand. That is a bit hard to do as the thread pools in jdk 
> isn't so good at this. 
> The spring-jms has a fair bit of logic to do this scaling up/down.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to