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

Java DSL - Improved CBR to detect if endChoice vs end was invalid used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.0
    • 2.15.1, 2.16.0
    • camel-core, eip
    • None
    • Unknown

    Description

      See SO
      http://stackoverflow.com/questions/29044571/camel-java-dsl-route-with-choice-proceeds-only-for-last-condition

      Users of Java DSL may improperly use the wrong end when ending the entire choice by using endChoice which then would by default add further outputs to the last clause, eg last when/otherwise.

      We should detect this so when using endChoice the next output must be when/otherwise (or another end)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: