camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: ThreadPoolExecutor configuration
Date Tue, 12 Oct 2010 14:44:00 GMT
Yeah wait for Camel 2.5 then

On Tue, Oct 12, 2010 at 3:54 PM, serega <sergejs.melderis@sybase.com> wrote:
>
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> The problem is that you are using 0 as the pool size.
>>     .threads(0)
>>
>> If you use 1 or larger it should work
>>
> Yes. I tried with threads(1) and it worked.
> But if I use pool size greater then 0,  I cannot get SynchronousQueue.
> http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/concurrent/ExecutorServiceHelper.java?revision=997755&view=markup
> The lines 209 - 218.
> --
> View this message in context: http://camel.465427.n5.nabble.com/ThreadPoolExecutor-configuration-tp3207845p3208923.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message