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

Using doTry .. doCatch with recipient list should not trigger error handler during recipient list work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.3
    • Fix Version/s: 2.12.4, 2.13.0
    • Component/s: camel-core, eip
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When you have a route like this

                      from("direct:start")
                          .doTry()
                              .recipientList(constant("direct:foo")).end()
                          .doCatch(Exception.class)
                              .to("mock:catch")
                              .transform().constant("doCatch")
                          .end()
                          .to("mock:result");
      

      Then if an exception was thrown it should be catch by doCatch

      A similar route with to instead works as expected.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: