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 Improvement
    • Status: Open
    • Priority: Major 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");
      

        Activity

        Hide
        Claus Ibsen added a comment -

        A slight change in the API and routing so lets move this to 3.0

        Show
        Claus Ibsen added a comment - A slight change in the API and routing so lets move this to 3.0
        Hide
        Claus Ibsen added a comment -

        The same applies for threads DSL as well. Those 3 are the last standing that ought to not have child outputs

        Show
        Claus Ibsen added a comment - The same applies for threads DSL as well. Those 3 are the last standing that ought to not have child outputs

          People

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

            Dates

            • Created:
              Updated:

              Development