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/07/07 05:33:00 UTC

[jira] [Commented] (CAMEL-16757) camel-core - Allow to define global error handling in all DSL the same way

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

Claus Ibsen commented on CAMEL-16757:
-------------------------------------

TODO:

- Collect routes vs build routes: Use 2 pass so we collect all resources first, and then use 1st pass to load only routes configuration. And 2nd pass to load the rest 
- RouteBuilder Java DSL should we have routesConfiguration() in its own class?
- RoutesConfiguration: Add interceptor, on completion, and error handler
- Documentation
- Examples (main, spring boot, quarkus)


> camel-core - Allow to define global error handling in all DSL the same way
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-16757
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16757
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.12.0
>
>
> In the legacy camel-spring-xml and camel-blueprint you have <camelContext> where you can setup global error handlers, interceptors etc
> In the microservice world we may want to look at allowing to have a <camelConfiguration> or some other name, where you can drop that as a file into the routes loader to setup global error handling, and so on.



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