You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/03/19 09:48:00 UTC
[jira] [Commented] (CAMEL-14739) RouteContext missing for
RedeliveryErrorHandler
[ https://issues.apache.org/jira/browse/CAMEL-14739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062409#comment-17062409 ]
Claus Ibsen commented on CAMEL-14739:
-------------------------------------
The route context is removed onwards. So if you have some sample project with error handling that now works differently, then put together a sample project and attach as zip or on github. And also try with 3.2 SNAPSHOT
> 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
> Priority: Major
>
> 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)