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

Add unit test coverage for exception propagation with bean expression in choice processor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.3, 2.8.1
    • 2.7.4, 2.8.2, 2.9.0
    • camel-core
    • None
    • Novice

    Description

      Prior to 2.4.0, exceptions in a bean expression were not propagated when used in a choice processor. The route would continue on as if the expression had evaluated to a Boolean value.

      I could not identify a unit test covering this scenario associated with the code that resolves the above behavior so I am adding one to prevent regression.

      Attachments

        Activity

          People

            davaleri David Valeri
            davaleri David Valeri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: