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

Claus Ibsen resolved CAMEL-1668.
--------------------------------

    Resolution: Fixed

trunk:

Now its easier as it uses the expression to evaluate a delay in millis it will 
wait.
No more strange JMSTimestamp + 3000 stuff.

And the Spring DSL does not have the delayTime attribute. So the delay is 
always in millis to wait from the current time.

Updated wiki as well.

> Delayer DSL in Spring XML is confusing to use
> ---------------------------------------------
>
>                 Key: CAMEL-1668
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1668
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-spring
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> To wait 0.5 sec you should do
> {code}
>                 <delay delayTime="500">
>                     <constant/>
>                 </delay>
> {code}
> {code}
> And not as expected:
>                 <delay>
>                     <constant>500</constant>
>                 </delay>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to