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

java.lang.Error thrown in mock/dataset assertions causes the async processing to not complete as just catches Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M1
    • 1.6.1, 2.0-M2
    • camel-core
    • None

    Description

      java.lang.AssertionException extends java.lang.Error

      So the mock endpoint should deal with this and catch Throwable instead of Exception when it handles failures.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: