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

Deadletter Failure processor is invoked even if error handling strategy defines to continue routing

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.15.6
    • 2.16.4, 2.17.1, 2.18.0
    • camel-core
    • None
    • stage

    Description

      When a DeadLetterChannel is used as context scoped error handling strategy with FailureProcessor set and a route scoped error handling strategy is defined to continue routing in case of certain exception classes, then it is observed that even in case of exceptions which belong to exceptions defined in OnException clause, the dead letter's failure processor is still triggered.

      A test case to simulate this behaviour is pasted.
      http://pastebin.com/raw/cfQhsJj0 - contains test case.
      http://pastebin.com/raw/K6wZc9Yh - test output

      Attachments

        Activity

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

          People

            davsclaus Claus Ibsen
            nikhilkumar578@gmail.com Nikhil Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment