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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.15.6
    • Fix Version/s: 2.16.4, 2.17.1, 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: