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

OnException with handled and no further processing should not send the message to the error handler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See nabble
      http://camel.465427.n5.nabble.com/Inconsistent-onException-behaviour-tp5541356p5541356.html

      Having

                      errorHandler(deadLetterChannel("mock:error"));
      
                      onException(Exception.class)
                          .handled(true);
      

      Should not route message to the DLC as the onException is handling the failure.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: