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

        

Reply via email to