[ 
https://issues.apache.org/jira/browse/CAMEL-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057166#comment-13057166
 ] 

Claus Ibsen commented on CAMEL-2654:
------------------------------------

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

> 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
>             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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to