Thanks for your reply.

Uh ok, I put the wrong log4j level and didn't saw all the
OutOfMemoryErrors...

Using Executors.newFixedThreadPool(1000) looks good. However as you pointed
out, I'm looking for the best number of threads. Am I forced to define a
static (max) size ?

I hoped that the cachedThreadPool could create threads until it runs out of
memory, and queue the next ones for later. Its java doc sounds great for my
case :




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-splitter-threadpool-configuration-messages-stuck-in-queue-tp5754194p5754216.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to