camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwijngaa <rino.van.wijngaar...@gmail.com>
Subject camel-file2 include with expression
Date Tue, 16 Jun 2015 13:25:43 GMT
Hi,

I totally assumed the include option in the camel-file2 component also
supported
the simple language (like the move and preMove does for example) ,
so i thought i could do this
   include=*.gz.enc.${date:now:yyyyMMdd}
to read only the files from today (but this didn't work as it should be a
regexp)

I think the only way to do this now is via a GenericFileFilter ?
http://camel.apache.org/file2.html#File2-Filterusingorg.apache.camel.component.file.GenericFileFilter

Any plans on supporting an Expression on include in the near future?
(i'm on camel 2.14.1)

Regards
Rino




--
View this message in context: http://camel.465427.n5.nabble.com/camel-file2-include-with-expression-tp5768310.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message