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 2020/09/23 13:38:00 UTC
[jira] [Created] (CAMEL-15572) route template: placeholder unsing
the #property: syntax does not get resolved
Luca Burgazzoli created CAMEL-15572:
---------------------------------------
Summary: 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
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)