You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2021/02/24 08:51: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 ]
Luca Burgazzoli updated CAMEL-10956:
------------------------------------
Fix Version/s: (was: 3.x)
3.9.0
> 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.9.0
>
>
> 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
(v8.3.4#803005)