Hi Jaishankar, Actually, Camel will not throw a SOAPFaultException, but a CamelRuntimeException that wraps a SOAPFaultException.
Instead of handling exception by hand, Camel can do it for you in 3 different ways depending on what you'd like to do : 1. http://camel.apache.org/dead-letter-channel.html 2. http://camel.apache.org/exception-clause.html 3. http://camel.apache.org/try-catch-finally.html See differences : http://java.dzone.com/articles/camel-exception-handling If you handle exception in one of these 3 ways, you can specify the SOAPFaultException as camel will look in your wrapped exception. 2014-07-29 8:46 GMT+02:00 Jaishankar <[email protected]>: > Hi Willem, > Thank you for quickly responding. > > I get exception but how to handle the execption because its not catching in > catch block > > catch (SOAPFaultException exception) { > LOG.info("SOAPFaultException " + > exception.getMessage()); > } > > So how to handle is my question? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Handle-SOAP-fault-message-tp5754549p5754554.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
