Hi What version of Camel do you use?
On Tue, Jun 25, 2013 at 12:34 PM, vkarkhanis <vkarkha...@gmail.com> wrote: > Hello Claus, > Thanks for the reply. > > I have following configuration: > > <route> > <from uri="quartz://"/> > <process ref="processor1"> > <split executorServiceRef="customThreadPoolProfile"> > <process ref="processor1"> > <process ref="processor2"> > </split> > > </route> > > In camel context: > > <threadPoolProfile id="customThreadPoolProfile" poolSize="5" maxPoolSize="5" > maxQueueSize="1000" rejectedPolicy="CallerRuns"/> > > > In the above setup, when put parallelProcessing="true" in <split> tag, the > logs show that the customThreadPoolProfile is used, but the number of > threads are not restricted to 5. Instead around 20 threads are spawned. As I > can read from the documents, the parallelProcessing="true" is implicitly set > if "executorServiceRef" is set. But if I dont mention > parallelProcessing="true", the processing happens synchronously. > > As per my uinderstading, the number of threads to execute this route, should > be limited to 5 with the customThreadPoolProfile. Is my understanding > incorrect? > > Thank you, > Regards > > Vaibhav A. Karkhanis > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326p5734731.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen