On Mon, Jul 2, 2012 at 4:17 PM, raphael <[email protected]> wrote: > OK, it's working by transforming the body in File(filename). > > But in that scenario, I lost all the features of the file component, right ? > (like move option for example). >
Yes you do, you can delete/move the file yourself. Or you would need to use either a route policy for a route, or use a consumer template from a java bean. And make sure to read the javadoc, as there is a done UoW method you may need to use etc. > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-consumer-event-based-not-polling-tp5715349p5715355.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
