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/08/06 10:31:00 UTC

[jira] [Updated] (CAMEL-10956) camel-core: more flexible route loader

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

Claus Ibsen updated CAMEL-10956:
--------------------------------
    Fix Version/s:     (was: 3.0.0)
                   3.x

> camel-core: more flexible route loader
> --------------------------------------
>
>                 Key: CAMEL-10956
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10956
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Priority: Major
>             Fix For: 3.x
>
>
> As today we can add files as "classpath:camel/*.xml" and camel picks them up but we should make it more flexible like collecting/discovering all the beans/service of type "RouteBuilderManager" (name is just an hint) and delegate the loading of the routes (and eventually theirs reload) to such managers.
> By default we'll provide the one to load the Java/XML but developer can add custom loaders so that routs can be load from yaml, json, scripting languages etc. and they can also have theirs custom logic to reload a route.



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