You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Firas Khasawneh <Fi...@sas.com.INVALID> on 2020/10/06 13:30:38 UTC

Set error_handled to false

Hi all,

I am trying to set error handled property on exchange to false but it does not seem to be working. Below is the code I am using:

exchange.setProperty(Exchange.EXCEPTION_HANDLED);

Is there a way to do this? It seems it has not effect.

Thanks,
Firas


Re: Set error_handled to false

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

What are you trying to do? And what Camel version are you using?

In general you should not "mess around" with those properties - they
are used by Camel internally.

On Tue, Oct 6, 2020 at 3:37 PM Firas Khasawneh
<Fi...@sas.com.invalid> wrote:
>
> Hi all,
>
> I am trying to set error handled property on exchange to false but it does not seem to be working. Below is the code I am using:
>
> exchange.setProperty(Exchange.EXCEPTION_HANDLED);
>
> Is there a way to do this? It seems it has not effect.
>
> Thanks,
> Firas
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2