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 2023/05/09 10:41:00 UTC
[jira] [Created] (CAMEL-19330) camel-xml-io - Dump model for Choice should have otherwise last
Claus Ibsen created CAMEL-19330:
-----------------------------------
Summary: camel-xml-io - Dump model for Choice should have otherwise last
Key: CAMEL-19330
URL: https://issues.apache.org/jira/browse/CAMEL-19330
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
{code}
<route xmlns="http://camel.apache.org/schema/spring" customId="true" id="myRoute">
<from uri="direct:start"/>
<split id="split1">
<simple>${body}</simple>
<to customId="true" id="myMock" uri="mock:sub"/>
<choice id="choice1">
<otherwise id="otherwise1">
<to id="to3" uri="mock:other"/>
</otherwise>
<when id="when1">
<header>foo</header>
<to id="to1" uri="mock:foo"/>
</when>
<when id="when2">
<header>bar</header>
<to id="to2" uri="mock:bar"/>
</when>
</choice>
</split>
<to id="to4" uri="mock:last"/>
</route>
{code}
In the DumpModelAsXmlSplitNestedChoiceEndRouteTest
--
This message was sent by Atlassian Jira
(v8.20.10#820010)