[ 
https://issues.apache.org/jira/browse/CAMEL-16818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Tarocchi updated CAMEL-16818:
------------------------------------
    Environment:     (was: Find the reproducer here:

run:
{code:bash}
./mvnw clean verify -pl :camel-kamelet -Dtest=KameletRouteDumpTest
{code}

the test will pass but in the test log that you can find in 
{{components/camel-kamelet/target/camel-kamelet-test.log}} this is what is 
printed as route:

{code:xml}
<routes xmlns="http://camel.apache.org/schema/spring";>

    <route customId="true" id="test">
        <from uri="direct:templateEmbedded"/>
        <kamelet id="kamelet1" name="setBody?bodyValue=test"/>
    </route>

    <route customId="true" id="setBody-1" template="true">
        <from uri="kamelet://source?routeId=setBody-1"/>
        <setBody id="setBody1">
            <constant>{{bodyValue}}</constant>
        </setBody>
        <to id="to2" uri="kamelet://sink?routeId=setBody-1"/>
    </route>

</routes>
{code}

but there should be a {{to(...)}} statement after {{<from 
uri="direct:templateEmbedded"/>}} in the route with {{id=test}}.
)

> route dump dose not print correct route with kamelet eip
> --------------------------------------------------------
>
>                 Key: CAMEL-16818
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16818
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Andrea Tarocchi
>            Priority: Major
>
> Using route dump option of camel context does not print the correct route in 
> case of using \{{kamelet}} eip.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to