Claus Ibsen created CAMEL-18764:
-----------------------------------
Summary: camel-core - templatedRoute builder from Java cannot use
templates from other DSLs
Key: CAMEL-18764
URL: https://issues.apache.org/jira/browse/CAMEL-18764
Project: Camel
Issue Type: Bug
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.20.0
Adding this to camel-example-routestemplate-xml
{code}
package org.apache.camel.example;
import org.apache.camel.BindToRegistry;
import org.apache.camel.builder.RouteBuilder;
@BindToRegistry
public class MyRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
templatedRoute("myTemplate")
.parameter("name", "Jack")
.parameter("greeting", "Hello from Java");
}
}
{code}
Should make the templatedRoute able to use the template that is defined in XML.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)