I want to transfer more than 1000 files.

But after transferring all the file camel re-transfer the files again.

I have set the option on the ftp endpoint: idempotentRepository.

from("ftp://admin@10.1.5.140:2121/MF?noop=true&password=admin&passiveMode=true&localWorkDirectory=D:/tmp";)
      
               
.idempotentConsumer(header(Exchange.FILE_NAME_ONLY),FileIdempotentRepository.fileIdempotentRepository(new
File("D:\\tmp\\cachedir", "idem.txt"))).to("file://D:/temp/xxx");               
  
Also there is a duplicate entry in  idempotent file.

If the no. of file less than 1000, it behaves OK.

Can any one tell me the solution                



--
View this message in context: 
http://camel.465427.n5.nabble.com/I-want-to-transfer-more-than-1000-files-But-after-transferring-all-the-file-camel-re-transfer-the-fi-tp5748606.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to