camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agustino <>
Subject Re: onCompletion not working when move file
Date Fri, 04 May 2012 09:06:16 GMT
Hi Claus,

Thanks for the reply.

If I use move=successDir, it means that no matter it's success or fail, it
will move the file to successDir.
My expected result is, if the file is successfully processed to queue, then
move to successDir else failDir.

I tried to add
onException(Exception.class).handled(true).to("file://failDir"), it gives me
wrong result, which is failDir and successDir contain the same file.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message