Hi

 We download  binary files present in ftp server to a local folder and do
mediation and data storage. we end this route when all files from ftp had
been completed.

from(ftpUrl).to(fileUrl).bean(endRoute,ftpStopper);

from(fileUrl).thread(5).to(mediationProcessManager).bean(endRoute,localStopper);

I want to implement threading mechanism so as to reduce processing time. 

Plz guide me how this can be achieved. My idea is to start e.g. 5 threads..
5 files shud be processed in parallel, after threads have done there
job..next 5 files and so on..

Thanks
Nafees



--
View this message in context: 
http://camel.465427.n5.nabble.com/Parallel-processing-using-apache-camel-tp5716329.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to