Hi

I have found one solution for this. Last file it was keeping in memory, so
everytime , I run the same route, it was giving one file less. 

I configured an explicit Memory based Idempotent repository in xml file 
<bean id="memoryRepo"
class="org.apache.camel.processor.idempotent.MemoryIdempotentRepository" />

When my whole processing is completed, after i stop and remove the related
routes,  I am calling 

memoryRepo.getCache().clear();

So, that next time, we run the same route, it will pick all the files
correctly.

Plz correct me if there is any better way to do this.

Regards
Nafees



--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-connect-issue-tp5716452p5716621.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to