Thx I had already tried with try catch.. but with out luck.. the documentation on camel.apache.org is to be honest.. a little confusing and messed up. When looking at the examples it is not always clear enough which version they apply to.
here is how i did in case some other newbie would like to know. (valid for Camel 1.5.0) <camelContext id="file-pump" xmlns=" http://activemq.apache.org/camel/schema/spring"> <route> <from uri="file://files-to-upload?consumer.delay=60000"/> <try> <to uri="ftp://ca...@localhost?password=camel"/> <catch> <exception>java.lang.Exception</exception> <to uri="file://todo"/> </catch> </try> </route> </camelContext> cheers, Peter
