You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/12/05 12:39:00 UTC
[jira] [Updated] (CAMEL-21516) camel-jbang - Transform route from xml to yaml with uri-as-parameters for context-path
[ https://issues.apache.org/jira/browse/CAMEL-21516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-21516:
--------------------------------
Fix Version/s: 4.8.3
> camel-jbang - Transform route from xml to yaml with uri-as-parameters for context-path
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-21516
> URL: https://issues.apache.org/jira/browse/CAMEL-21516
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.8.1, 4.9.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.8.3, 4.10.0
>
>
> Its a bit weird but a simple route ala
> {code:java}
> <camel>
> <route id="route-b785" nodePrefixId="route-14b">
> <from id="from-959e" uri="direct:start"/>
> <to id="to-65f9" uri="jms:queue:demo"/>
> </route>
> </camel> {code}
>
> Is generated as
>
> {code:java}
> - route:
> id: route-b785
> nodePrefixId: route-14b
> from:
> id: from-959e
> uri: direct
> parameters:
> name: start
> steps:
> - to:
> id: to-65f9
> uri: jms:queue:demo {code}
>
> The last to has no uri-as-parameters. As those are the in the context-path and are UriPath. Those are harder to make as parameters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)