camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: I want to transfer more than 1000 files. But after transferring all the file camel re-transfer the files again.
Date Tue, 11 Mar 2014 08:28:42 GMT
Hi

Read the javadoc of the file idempotent repo. It has a default 1st
level cache of 1000. Set a higher value.

On Tue, Mar 11, 2014 at 8:41 AM, skasish <asish_sam@hotmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message