Hi

I suggest if you can put together a small example / unit test or
something that demonstrates what you are doing and why you need to do
custom error handling.
And put it on github or in a JIRA ticket.


On Tue, Apr 6, 2021 at 10:13 AM Benjamin Graf <benjamin.g...@gmx.net> wrote:
>
> Hi together,
>
> https://issues.apache.org/jira/browse/CAMEL-14354 introduces a change to 
> ExchangeHelper to copy internal state of child exchanges to parent exchanges. 
> Especially the code addition from 
> https://github.com/apache/camel/blob/a9fd03f1d022a48553207ab59e42f35b8cd6c325/core/camel-support/src/main/java/org/apache/camel/support/ExchangeHelper.java#L417-L418
>  is causing troubles for my custom error handling policy because rollback 
> states are set to false on parent after errorhandler has set it back to false 
> on child exchange and multicast does the copy over. This makes my transaction 
> separation actually impossible for multicast use cases causing rollbacks to 
> AMQ and DLQ the latter one.
>
> Is this really intended or maybe a bug/race condition of the patch after 3.1 
> ongoing?
>
> Best regards
> Benjamin



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

Reply via email to