Why not just add a process in the route as your pre processing step from file process pre process what you do now
On Thu, May 21, 2015 at 8:29 AM, Kondalarv <kondala.sou...@gmail.com> wrote: > Thank you for inputs. I would like to do once before every file and need file > name to execute pre processing logic. Kindly share example if you have any. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-File-Consumer-Pre-processing-steps-tp5767348p5767361.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/