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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.0
    • Fix Version/s: 2.15.1, 2.16.0
    • Component/s: camel-core, eip
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: