Hi, All. I have a question on how to delete a file if any exception happens:
<route id="eroute"> <from uri="sftp://abc.com/pickup&preMove=process /> <marshal ref="myJaxb" /> <to uri="sftp://abc.com/done" /> <onException> //I want to delete the file and move on </onException> </route> I will appreciate any code samples and ideas. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/How-to-delete-a-file-if-any-exception-happens-tp5761492.html Sent from the Camel - Users mailing list archive at Nabble.com.