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/06/27 07:53:00 UTC

[jira] [Resolved] (CAMEL-19330) camel-xml-io - Dump model for Choice should have otherwise last

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

Claus Ibsen resolved CAMEL-19330.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> {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)