[ 
https://issues.apache.org/jira/browse/CAMEL-14739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066443#comment-17066443
 ] 

Claus Ibsen commented on CAMEL-14739:
-------------------------------------

Thanks for the sample project. 

Reproduced and we see this WARN

2020-03-25 07:55:46.758  WARN 2123 --- [nio-8080-exec-4] 
o.a.c.p.e.RedeliveryErrorHandler         : Cannot determine current route from 
Exchange with id: ID-davsclaus-pro-local-1585119287866-0-3, will fallback and 
use first error handler.


> RouteContext missing for RedeliveryErrorHandler
> -----------------------------------------------
>
>                 Key: CAMEL-14739
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14739
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 3.1.0
>            Reporter: Nathan
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: camel-error-test.zip
>
>
> The RedeliveryErrorHandler needs the RouteContext to determine which 
> onException rule to use.
> The RouteContext is set at the start of a route, when leaving a route the 
> RouteContext should be set to the route that called it. However it is 
> apparently null, which means that if an error happens at that point it cannot 
> use the onException rules that have been set.
> In 3.0 the RouteContext was a stack so it kept track of all the routes that 
> it passed, meaning automatically returned to the parent RouteContext value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to