Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19330

camel-xml-io - Dump model for Choice should have otherwise last

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • camel-core
    • None
    • Unknown

    Description

      <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>
      

      In the DumpModelAsXmlSplitNestedChoiceEndRouteTest

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: