camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel-file2 include with expression
Date Tue, 16 Jun 2015 13:52:32 GMT
Hi

No there is no plan. Its complicated if you have both reg exp and
simple language in same. And include option has always been reg exp
only.

On Tue, Jun 16, 2015 at 3:25 PM, rwijngaa
<rino.van.wijngaarden@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message