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 2021/08/01 13:15:00 UTC
[jira] [Resolved] (CAMEL-16819) camel-core - Add support for
configurable ExceptionPolicyStrategy in error handler
[ https://issues.apache.org/jira/browse/CAMEL-16819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16819.
---------------------------------
Resolution: Fixed
Thanks for the PR. I polished the code a little bit
> camel-core - Add support for configurable ExceptionPolicyStrategy in error handler
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-16819
> URL: https://issues.apache.org/jira/browse/CAMEL-16819
> Project: Camel
> Issue Type: New Feature
> Components: camel-core-model
> Affects Versions: 3.11.0
> Reporter: Jose Montoya
> Priority: Minor
> Fix For: 3.12.0
>
>
> Simply would like to add support for a configurable ExceptionPolicyStrategy. We're specifically looking to reverse the matching order, as to start from the top instead of the bottom. We feel this is more in line with Java's try-catch bevahiour so it's more intuitive to our new developers, and also for some of our devs coming from Mule developement.
>
> Here's an exploratory implementation: [https://github.com/MS3Inc/camel/commit/8433213caa8664fb5c61c8d1a3ab7bc8e1bdddd8]
> This one makes the default strategy non final which I think may have been the original intent since it has a few protected methods.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)