Re: File Overwrite using camel

2012-04-27 Thread Gnanaguru S
ine. Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5670678.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File Overwrite using camel

2012-04-27 Thread Stefan Burkard
st.java > > Babak > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5669929.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File Overwrite using camel

2012-04-27 Thread Babak Vahdat
l-jms/src/test/java/org/apache/camel/component/jms/FileRouteToJmsToFileTest.java Babak -- View this message in context: http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5669929.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File Overwrite using camel

2012-04-27 Thread Gnanaguru S
And will all this file operation work between a queue ? LIke this Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708p5669871.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File Overwrite using camel

2012-04-27 Thread Gnanaguru S
Thanks Stefan and Claus for the clue. Great. It worked for the following route/. Camel is Great always. I could have been writing 200 lines of code for this else. Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/File-Overwrite-using-camel

Re: File Overwrite using camel

2012-04-27 Thread Claus Ibsen
every 10 sec Use the delay=10s option 3) And what should happen when after the file has been processed? Should it be kept in the source folder, or moved, or deleted? Use idempotent=false and/or noop=false, or move=xxx etc > Regards > Guru > > > > > -- > View this message

Re: File Overwrite using camel

2012-04-27 Thread Stefan Burkard
ime 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 > > > > > -- >

Re: File Overwrite using camel

2012-04-27 Thread Claus Ibsen
options for the file component, eg the producer has a fileExist option that by default is Override. You can set it to Append instead. > Regards > Guru > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Overwrite-using-camel-tp5669708

File Overwrite using camel

2012-04-27 Thread Gnanaguru S
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.