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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: camel-core
    • Labels:
      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

        There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

              • Created:
                Updated: