On Tue, Mar 9, 2010 at 4:53 PM, ankelee <andreasasm...@gmail.com> wrote: > > Ok, so pollEnrich can be used for this. But the filelanguage doesnt seem to > work fully when using this? > I want the files to be consumed, ie moved to a backup directory on success > and an error directory on exception. Shouldnt this work? > > from("quartz://report?cron=0/10+*+*+*+*+?") > .pollEnrich("file://data/in?move=data/backup&moveFailed=data/error") > .to(etc.) > > The files do not get moved after the route has completed. >
No this is currently not supported from pollEnrich. Could you add a ticket in JIRA then I remember to take a look as I think its doable to support. > -- > View this message in context: > http://old.nabble.com/Quartz-confusion-tp27819970p27837602.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus