[
https://issues.apache.org/jira/browse/CAMEL-16819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Montoya updated CAMEL-16819:
---------------------------------
Description:
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 drive it has a few protected methods.
was:
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 and also for some of our devs coming from Mule developement.
Here's an exploratory implementation:
https://github.com/MS3Inc/camel/commit/8433213caa8664fb5c61c8d1a3ab7bc8e1bdddd8
> Add support fot a configurable ExceptionPolicyStrategy
> ------------------------------------------------------
>
> 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
>
> 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 drive it has a few protected methods.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)