Hi,
Since it is related to the usage of threads, thought of adding my ask to the
same post.
I am using *apache-camel-2.10.2*
I see that the thread pool is *NOT growing* .
<camel:route>
<camel:from
uri="jms:queue:MyQueue?concurrentConsumers=10"></camel:from>
<camel:threads maxPoolSize="20" poolSize="2" id="myTp">
<camel:log message="Log from xml"></camel:log>
</camel:threads>
</camel:route>
Java DSL
from("jms:queue:MyQueue?concurrentConsumers=10")
.threads(2,10)
.delay(1000)
.log("recieved file");
In both the cases the number of threads are not growing more than what is
given as poolSize ( in our case 2 ). Even thought the maxPoolSize is given
as 20, the number of threads remain at 2 ..
Debugged using JConsole and observed the behavior.
Is my configuration correct ? am i missing anything ?
Br,
Rajesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-using-async-threads-tp3025934p5736534.html
Sent from the Camel - Users mailing list archive at Nabble.com.