Hi, Actually, camel will wrap any of your exception or other exception in a RuntimeCamelException.
You can handle exceptions (including wrapped exception) in many ways in camel (http://camel.apache.org/error-handling-in-camel.html) 2014-07-29 6:03 GMT+02:00 Satyam Singh <[email protected]>: > Hello, > > > I am using camel HDFS , it is throwing RuntimeCamelException whenever > IOException is thrown by hadoop api in writing/reading. > > This causes my application killed. I think this is not preferable practice. > > I want to know why this runtime exception is thrown, couldn't we handle it > with printing some logs and cleaning up resources like closing stream ?. > > > Warm Regards, > Satyam >
