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 2020/09/28 18:28:00 UTC

[jira] [Resolved] (CAMEL-15572) route template: placeholder unsing the #property: syntax does not get resolved

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

Claus Ibsen resolved CAMEL-15572.
---------------------------------
    Resolution: Won't Fix

> route template: placeholder unsing the #property: syntax does not get resolved
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-15572
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15572
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core-engine
>    Affects Versions: 3.5.0
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> Assuming we have a route template defined as follow:
> {code:java}
> routeTemplate("echo-fail")
>     .templateParameter("prefix")
>     .from("direct:#property:routeId")
>     .setBody().simple("{{prefix}}-${body}");
> {code}
> That we instantiate with something like:
> {code:java}
> TemplatedRouteBuilder.builder(context, "echo-fail")
>     .parameter("prefix", "terst")
>     .parameter("routeId", "myROuteId")
>     .add();
> {code}
> The generated route does not have the #property:routeId resolved. 
> Originally reported here: https://github.com/apache/camel-k-runtime/issues/500#issuecomment-697303190



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