This is I'm not sure about - perhaps a current Camel message/exchange
can be accessed via a thread local storage and the exception set there ?
Cheers, Sergey
On 24/02/16 16:08, M.Ismail wrote:
Hi,
I have found that I the exception is escaped and in order to handle it i had
to create a CXF Exce
Hi,
I have found that I the exception is escaped and in order to handle it i had
to create a CXF ExceptionMapper as per the below. Is this a normal behavior?
Can I re-throw the exception handled by the ExceptionMapper so that Camel
can handle it?
public class MyExceptionMapper implements
Except
Hi
The escaped exception can indeed be handled by CXF fault interceptors,
but also by JAX-RS ExceptionMapper, and on the client side, by
ResponseExceptionMapper.
I'm not sure why onException is not triggered (you said below that it
actually goes into onException but the subject implies other