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 2019/07/31 09:22:00 UTC

[jira] [Resolved] (CAMEL-9465) Allow to start routes where some may fail but have retry logic

     [ https://issues.apache.org/jira/browse/CAMEL-9465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-9465.
--------------------------------
    Resolution: Fixed

There is a route controller that Luca implemented that can do this

> Allow to start routes where some may fail but have retry logic
> --------------------------------------------------------------
>
>                 Key: CAMEL-9465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9465
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: Future
>
>
> Today when Camel is starting it fail fast if a route cannot start such as not connecting to a database / broker etc.
> Some component has built in retry so they can try to connect later. But often you need to enable this explicit, and this do not work for all components.
> We should add a boss task that start the routes and keep track of which routes have not yet been started successfully and re-attempt after a delay.
> You should be able to configure an upper limit so if failed after N attempts then Camel is shutting down. For example to allow the JVM to terminate and exit with a fail error code etc.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)