Camel
  1. Camel
  2. CAMEL-5024

Streaming splitter ignores exception handling

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.3, 2.8.4, 2.9.0
    • Fix Version/s: 2.8.5, 2.9.1, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      Ubuntu Linux
      Java version "1.6.0_24"

    • Estimated Complexity:
      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.

        Issue Links

          Activity

          Razvan Ludvig created issue -
          Razvan Ludvig made changes -
          Field Original Value New Value
          Attachment SplitExceptionHandlingTest.java [ 12515355 ]
          Willem Jiang made changes -
          Link This issue is duplicated by CAMEL-5025 [ CAMEL-5025 ]
          Willem Jiang made changes -
          Assignee Willem Jiang [ njiang ]
          Hide
          Willem Jiang added a comment -

          Applied patch into trunk, camel-2.9.x and camel-2.8.x branches.

          Show
          Willem Jiang added a comment - Applied patch into trunk, camel-2.9.x and camel-2.8.x branches.
          Willem Jiang made changes -
          Fix Version/s 2.9.1 [ 12319191 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.8.5 [ 12319522 ]
          Fix Version/s 2.10.0 [ 12317612 ]
          Resolution Fixed [ 1 ]
          Claus Ibsen made changes -
          Link This issue breaks CAMEL-5681 [ CAMEL-5681 ]
          C S made changes -
          Link This issue is related to CAMEL-5818 [ CAMEL-5818 ]

            People

            • Assignee:
              Willem Jiang
              Reporter:
              Razvan Ludvig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development