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-1264) Spring DSL - Delay use attribute for constant delay
Date Fri, 16 Jan 2009 07:34:04 GMT

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

Claus Ibsen updated CAMEL-1264:
-------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: CAMEL-745

> Spring DSL - Delay use attribute for constant delay
> ---------------------------------------------------
>
>                 Key: CAMEL-1264
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1264
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-spring
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>             Fix For: 2.0.0
>
>
> The Spring DSL for delay is not good for constant delay, to eg use 3000 millis then you
need to add a sub empty expression that is very confusing.
> {code}
>     <route>
>       <from uri="seda:b"/>
>       <delay>
>         <expression/>
>         <delayTime>3000</delayTime>
>       </delay>
>       <to uri="mock:result"/>
>     </route>
> {code}
> We should use an attrbute for constant delay instead. So delayTime is an attribute instead
on delay.
> {code}
> <delay delayTime="3000"/>
> <to uri="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