Re: File component wih fileName option (skip/return when matching file found?)

2015-09-30 Thread mohammed.rafi
thanks. It worked :) -- View this message in context: http://camel.465427.n5.nabble.com/File-component-wih-fileName-option-skip-return-when-matching-file-found-tp5772085p5772133.html Sent from the Camel - Users mailing list archive at Nabble.com.

File component wih fileName option (skip/return when matching file found?)

2015-09-29 Thread mohammed.rafi
Hi, With Camel file component --> If you want to consume a single file only, you can use the fileName option, e.g. by setting fileName=thefilename. It polls the directory and compares the fileName with each of the files in the directory. But when a matching file is found it wont return

Re: Idepotent repository update inside a camel Processr

2015-03-31 Thread mohammed.rafi
Thanks Claus Ibsen, Glad to hear from you. Yes I have see the idempotentConsumer EIP behaviour and I am ok with it, but I needed to remove the added message keys for the batch (added from the idempotent consumer) from the Idempotent Repository whenever the DB batch update fails, this ensure

Idepotent repository update inside a camel Processr

2015-03-27 Thread mohammed.rafi
Hi All, I am working on a application where I need to read data/records from a set of files and updating them into database. In case of error during file processing/db update (file is partially processed), I should be able to re-process the file and exclude the records which are already updated