Hi

Not sure if I get your question, but to write files there is an option
"fileExist". This option defaults to "Override". Other options would
be "Append", "Fail" and "Ignore".

But since the default seems to be what you want, I don't really
understand the problem :-)

Stefan


On Fri, Apr 27, 2012 at 10:43, Gnanaguru S
<gnanaguru.sattanat...@wipro.com> wrote:
>
> Hi
>
> I am doing a simple route using camel
>
> <from uri:"file?fileName=//input/test.txt"/>
> <to uri:"file://output"/>
>
> Now If I keep a file test.txt, It will transfer to output folders, But I
> want this to happen every 10 seconds. Every time it writes, It should not
> write a new file. But it should overwrite the existing file.
>
> Because the source will be updated by one system, And the target file should
> be updated the same way.
>
> How can I do that ?
>
> Regards
> Guru
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5669708.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to