You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2026/05/10 09:16:00 UTC

[jira] [Updated] (CAMEL-23469) Infinite redelivery loop when child route with NoErrorHandler uses removeHeaders("*")

     [ https://issues.apache.org/jira/browse/CAMEL-23469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Federico Mariani updated CAMEL-23469:
-------------------------------------
    Description: 
When a parent route has an _onException_ with a redelivery policy and a child route (invoked via direct: ) uses _NoErrorHandler_ combined with _removeHeaders("*")_, the redelivery counter gets stuck at 1 and loops indefinitely, never reaching maximumRedeliveries.

https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/How.20to.20manage.20in.20parent.20route.20errors.20raised.20in.20child.20route/with/594077566

  was:
When a parent route has an _onException_ with a redelivery policy and a child route (invoked via direct:) uses _NoErrorHandler_ combined with _removeHeaders("*")_, the redelivery counter gets stuck at 1 and loops indefinitely, never reaching maximumRedeliveries.

https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/How.20to.20manage.20in.20parent.20route.20errors.20raised.20in.20child.20route/with/594077566


> Infinite redelivery loop when child route with NoErrorHandler uses removeHeaders("*")
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23469
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23469
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 4.18.2, 4.20.0
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.18.3, 4.21.0
>
>
> When a parent route has an _onException_ with a redelivery policy and a child route (invoked via direct: ) uses _NoErrorHandler_ combined with _removeHeaders("*")_, the redelivery counter gets stuck at 1 and loops indefinitely, never reaching maximumRedeliveries.
> https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/How.20to.20manage.20in.20parent.20route.20errors.20raised.20in.20child.20route/with/594077566



--
This message was sent by Atlassian Jira
(v8.20.10#820010)