[
https://issues.apache.org/jira/browse/CAMEL-23521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-23521:
--------------------------------
Component/s: camel-core
> camel-core: XML route dumping is missing target element closing tags
> --------------------------------------------------------------------
>
> Key: CAMEL-23521
> URL: https://issues.apache.org/jira/browse/CAMEL-23521
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: James Netherton
> Priority: Minor
> Fix For: 4.21.0
>
>
> Some examples of various DSL elements when they are dumped. Note the missing
> closing root element tag.
> *Routes*
> {code:java}
> <routes xmlns="http://camel.apache.org/schema/xml-io">
> <route id="greet">
> <from uri="direct:greet"/>
> <setBody>
> <constant>Hello World</constant>
> </setBody>
> </route>
> {code}
> *Rests*
> {code:java}
> <rests xmlns="http://camel.apache.org/schema/xml-io">
> <rest id="greet" path="/greeting">
> <get path="/hello">
> <to uri="direct:greet"/>
> </get>
> </rest>
> {code}
> *Rotue Templates*
> {code:java}
> <routeTemplates xmlns="http://camel.apache.org/schema/xml-io">
> <routeTemplate id="myTemplate">
> <templateParameter name="name"/>
> <templateParameter name="greeting"/>
> <route>
> <from uri="direct:template"/>
> <setBody>
> <simple>{{greeting}} ${body}</simple>
> </setBody>
> </route>
> </routeTemplate>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)