You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Matthias Leinweber (Jira)" <ji...@apache.org> on 2022/03/17 15:20:00 UTC
[jira] [Reopened] (CAMEL-16873) Route template parameter are not replaced when dumpRoutesAsXML
[ https://issues.apache.org/jira/browse/CAMEL-16873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Leinweber reopened CAMEL-16873:
----------------------------------------
The fix unfortunately does not work for xml defined templates:
{code:java}
<routeTemplate id="exampleTemplate">
<templateParameter name="from"/>
<templateParameter name="to"/>
<templateParameter name="description" defaultValue="No description"/>
<route template="true"> <!-- !!!!! This becomes RoutesDefinition not RouteDefintion-->
<description>{{description}}</description>
<from uri="{{from}}"/>
<to uri="{{to}}"/>
</route>
</routeTemplate>{code}
best Regards,
A fix is highly appreciated. :)
> Route template parameter are not replaced when dumpRoutesAsXML
> --------------------------------------------------------------
>
> Key: CAMEL-16873
> URL: https://issues.apache.org/jira/browse/CAMEL-16873
> Project: Camel
> Issue Type: Improvement
> Components: came-core
> Affects Versions: 3.11.0
> Reporter: Matthias Leinweber
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.11.2, 3.12.0
>
>
> When you are using route templates you can dumpRoutesAsXML but the parameters are not replaced even if you set the replacement boolean to true.
> It would be very useful to see resulting template with parameters replaced.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)