Hi Set a higher cache size, such as 9999999999 or implement your own idempotent repo. For example without a first level cache, so it checks the persistent file each time etc.
Or contribute to the existing file idempotent repo, to let it check the file if there was a cache miss. http://camel.apache.org/contributing On Thu, May 15, 2014 at 12:19 PM, arvind <arvindpradha...@gmail.com> wrote: > Thanks for showing the interest. The first post of mine consisting the xml > file which I am using to transfer the file from FTP to local directory. It > is working fine but when it crosses the number of files more than 5000 i.e > the cacheSize value mentioned in the xml , the files are getting added > multiple times to Idempotent repository so the files are transferred more > than once from FTP to Local directory. > So please let me know if there is any way to restrict the file to be > transferred more than once(from FTP to local directory) means to restrict > the the files to add into the repository multiple times. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Restricting-the-duplicate-files-to-be-added-into-idempotent-repository-irrespective-of-cacheSize-vale-tp5750853p5751154.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/