camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2654) Delay and Throttle EIP - Should not have child outputs, which otherwise causes people to have to add .end() in Java DSL
Date Wed, 25 Aug 2010 13:05:47 GMT

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

Claus Ibsen updated CAMEL-2654:
-------------------------------

    Fix Version/s: 3.0.0
                       (was: 2.5.0)

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

> 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/activemq/browse/CAMEL-2654
>             Project: Apache 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message