Claus Ibsen created CAMEL-21516:
-----------------------------------

             Summary: 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.9.0, 4.8.1
            Reporter: Claus Ibsen
             Fix For: 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)

Reply via email to