You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/09/30 15:46:00 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2654.
--------------------------------
    Resolution: Fixed

> Delay and Throttle EIP - Should not have child outputs, which otherwise causes people to have to add .end() in Java DSL
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2654
>                 URL: https://issues.apache.org/jira/browse/CAMEL-2654
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0
>
>
> For example when used in onException it gets a bit confusing as you must have 2 end to end it
> {code:java}
>                 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");
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)