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

Karen Lease commented on CAMEL-16404:
-------------------------------------

[~davsclaus] Is the idea to create a class such as RouteTemplatesConfigurer 
which would search for and load only route template definition builders, 
analogous to the RoutesConfigurer?  Or add a configureRouteTemplates method to 
RoutesConfigurer?
These new RouteTemplateBuilders would handle only the routesTemplate DSL (in 
java, xml or yaml) and the current XXXRoutesBuilderLoader implementations would 
no longer handle routesTemplate but only routes and rests.
Do I have the correct understanding of your idea?

> camel-core - Move route templates into RouteTemplateBuilder
> -----------------------------------------------------------
>
>                 Key: CAMEL-16404
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16404
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.11.0
>
>
> Instead of allowing to define both routes and route templates in a 
> RouteTemplate (too many things).
> Then we may want to have a special RouteTemplateBuilder that has a subset DSL 
> that are tailored for route templates.
> This also helps discovery of route templates, as you can look for 
> RouteTemplateBuilder instances. And ensure they are discovered before regular 
> routes etc.



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

Reply via email to