After that a content based router evaluating CAMEL_FILE_NAME? Jan
> -----Ursprüngliche Nachricht----- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Freitag, 22. August 2014 09:13 > An: users@camel.apache.org > Betreff: Re: Camel File Component > > 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.chakravar...@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- > tp5755547p57555 > > 48.html Sent from the Camel - Users mailing list archive at > > Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cib...@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/