Claus Ibsen created CAMEL-21490:
-----------------------------------

             Summary: camel-jbang - Transform route to yaml with choice
                 Key: CAMEL-21490
                 URL: https://issues.apache.org/jira/browse/CAMEL-21490
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.10.0


This XML route converts to a bad yaml
{code:java}
<camel>
    <route id="route-b785" nodePrefixId="route-14b">
        <from id="from-959e" uri="direct:start"/>
        <choice id="choice-52fe">
            <when id="when-b126">
                <simple>${header.foo} == 'bar'</simple>
                <to id="to-65f9" uri="jms:queue"/>
            </when>
            <otherwise id="otherwise-c07f">
                <to id="to-dc76" uri="log:default"/>
            </otherwise>
        </choice>
    </route>
</camel> {code}
 

 

camel transform route abc.camel.xml



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to