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

Delay and Throttle EIP - Should not have child outputs, which otherwise causes people to have to add .end() in Java DSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • camel-core
    • None

    Description

      For example when used in onException it gets a bit confusing as you must have 2 end to end it

                      from("direct:start")
                          .onException(Exception.class)
                              .maximumRedeliveries(2)
                              .backOffMultiplier(1.5)
                              .handled(true)
                              .delay(1000)
                                  .log("Halting for some time")
                                  .to("mock:halt")
                              .end()
                          .end()
                          .to("mock:result");
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: