camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mohammed.rafi" <>
Subject File component wih fileName option (skip/return when matching file found?)
Date Tue, 29 Sep 2015 07:37:42 GMT

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?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message