Description
Assuming we have a route template defined as follow:
routeTemplate("echo-fail") .templateParameter("prefix") .from("direct:#property:routeId") .setBody().simple("{{prefix}}-${body}");
That we instantiate with something like:
TemplatedRouteBuilder.builder(context, "echo-fail") .parameter("prefix", "terst") .parameter("routeId", "myROuteId") .add();
The generated route does not have the #property:routeId resolved.
Originally reported here: https://github.com/apache/camel-k-runtime/issues/500#issuecomment-697303190