Hi Jaishankar,

Have you tried with the Exchange.EXCEPTION_CAUGHT property?

If I remember well, when you catch an exception, as is supposed that you are
controlling the situation, the exception moves to this property. The
exception won´t be anymore in the exchange.getException() (otherwise the
channel would detect that an exception happened and the message will be
redirected to the corresponding error handler)

You can access directly to this property using in your bean this as an
argument:

@Property(value=Exchange.EXCEPTION_CAUGHT) Exception exceptionCaught

Hope that helps you.

Greetings,

  Aida.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Web-service-SOAP-fault-handling-tp5757883p5757906.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to