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. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/onCompletion-not-working-when-move-file-tp5685102p5685247.html Sent from the Camel - Users mailing list archive at Nabble.com.