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

Streaming splitter ignores exception handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.3, 2.8.4, 2.9.0
    • 2.8.5, 2.9.1, 2.10.0
    • camel-core
    • None
    • Ubuntu Linux
      Java version "1.6.0_24"

    • Unknown

    Description

      If an exception occurs on the next() call of an Iterator in a streaming splitter, the exception is never propagated to the exception or the error handler. This will lead to improper route termination, and inifite rollback/retry cycles.

      I attached the minimal test case demonstrating the issue.

      Attachments

        1. SplitExceptionHandlingTest.java
          1 kB
          Razvan Ludvig

        Issue Links

          Activity

            People

              njiang Willem Jiang
              rludvig Razvan Ludvig
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: