[
https://issues.apache.org/jira/browse/CAMEL-18764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-18764:
--------------------------------
Affects Version/s: 3.19.0
> 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
> Affects Versions: 3.19.0
> Reporter: Claus Ibsen
> Priority: Major
> 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)