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 File Component
Date Fri, 22 Aug 2014 07:13:06 GMT
The include is a Java regular expression, so you can do something alike

include=(.*DONE|.*json)


On Fri, Aug 22, 2014 at 9:07 AM, sakchakravarthi
<ajit.kalyan.chakravarthi@gmail.com> wrote:
> Example
>
> <camel:route>
>                         <camel:from uri="file://D:/testsrc?fileName=*.lock"/>
>                         <camel:log message="notification"></camel:log>
>                 </camel:route>
>
>                 <camel:route>
>                         <camel:from uri="file://{{file.ihub.data}}?include=*.DONE"/>
>                         <camel:log message="Done"></camel:log>
>                 </camel:route>
>
> Please help me how to include *.json to second route
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Component-tp5755547p5755548.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