Apache camel : Multithreading in route

2014-03-21 Thread Sona
String processFiles= "file://somedirectory?readLock=rename&preMove=inprogress/&move=../processed/&moveFailed=../error/" String postProcessor = "file://somedirectory/inprogress"; from(processFiles) .threads(10) .routeId("someId") .to("bean:somebean"); from(postProcessor) .routeId("postProcress")

Re: Apache camel : Multithreading in route

2014-03-22 Thread Sona
Hello, Just to give you a problem statement : 1. We have number of files each with millions of records at one location.We need to read those files and save data in database. 2. Once done update status in other table. Solution is already in place. But currently its taking more time. Hence we tri