Thanks for the reply. Yes, i tried that first. But the use case here is different. No need to move the same file(consumed in /ftpIn/ route) to error/success locations. move and moveFailed options worked in this case.
But the bean(registrationProcess) creates 2 different files in different locations, which again need to be FTPed to different locations. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/How-to-reset-the-body-content-before-routing-to-next-endpoint-tp5004107p5016388.html Sent from the Camel - Users mailing list archive at Nabble.com.