You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Tarocchi (Jira)" <ji...@apache.org> on 2021/07/26 14:56:00 UTC
[jira] [Created] (CAMEL-16818) route dump dose not print correct
route with kamelet eip
Andrea Tarocchi created CAMEL-16818:
---------------------------------------
Summary: 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
Environment: 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}}.
Reporter: Andrea Tarocchi
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)