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

The ErrorHandler doesn't work when Splitter working in Streaming model.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.6.0, 2.7.0, 2.8.0, 2.9.0
    • 2.8.5, 2.9.1, 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      When the Splitter working in Streaming model, the error handle does work if the exception is throw from body iterator.

      errorHandler(deadLetterChannel("mock:error"));
      from("direct:start").
      	split(body()).						
      		streaming().
      		to("mock:end").
      	end();
      

      Here is the mail thread[1] which discusses about it.
      [1]http://camel.465427.n5.nabble.com/Streaming-splitter-ignores-exception-handling-tt5501036.html#a5501601

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment