You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/17 10:47:25 UTC
[jira] Created: (CAMEL-2654) Delay and Throttle EIP - Should not
have child outputs, which otherwise causes people to have to add .end() in
Java DSL
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: 2.4.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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[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
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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: 2.5.0
(was: 2.4.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: 2.5.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.
[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
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.