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 immediately instead loops
entire list of files before completing.

Do we have an option to make it skip and return immediately once a matching
file is found?


thanks,
Rafi




--
View this message in context: 
http://camel.465427.n5.nabble.com/File-component-wih-fileName-option-skip-return-when-matching-file-found-tp5772085.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to