Hi Yes you can do that. You can for example implement a custom filter, where you return true if the DB check is okay, or false if not.
See the filter option at http://camel.apache.org/file2 On Tue, Jun 24, 2014 at 2:09 PM, sakchakravarthi <ajit.kalyan.chakravar...@gmail.com> wrote: > Is it possible to pick a file conditionally. To pick a file from dir I need > to check status in DB. If status is ready then only file should be picked > up. Is this kind of scenario possible. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-file-pick-up-conditionally-tp5752725p5752736.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/