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

Error handler not called when recipient list has non existing endpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.4, 2.9.0
    • 2.8.5, 2.9.1, 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      Given this route

                      onException(Exception.class)
                              .handled(true)
                              .to("mock:dead");
      
                      from("direct:start")
                          .recipientList(constant("fail:endpoint"))
                          .to("mock:result");
      

      You would assume the on exception will handle the exception from the recipient list with the non existing endpoint.
      This is not the case. We should let recipient list detect and let the error handler handle it.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: