2014-01-21 Claus Ibsen <claus.ib...@gmail.com>

> Hi
>
> Yeah that is intended as when an exception occurs the exchange does
> not include any partial changes/updates that may have happened.
> Camel does a defensive copy of the information from the message in its
> error handler.
>


Hi Claus, thanks for your reply.

I found out the probably obvious solution:

exchange.setException(new SomeException(...));

In this way the headers are kept and the exceptionHandler is activated.


Bye

Lorenzo

Reply via email to