camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Karpe (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-2631) Add time millis converter which can convert from String to long
Date Fri, 23 Apr 2010 14:21:26 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59062#action_59062
] 

Ashwin Karpe edited comment on CAMEL-2631 at 4/23/10 10:20 AM:
---------------------------------------------------------------

Hi Claus,

Just sending a long vale of 149 will not cause the TimePatternConverter to kick in... Same
is true of negative Strings.

I will add a Test to discover the TypeConverter and add a stopwatch test to the Timer test

I have made the other changes :)

Cheers,

Ashwin...

      was (Author: akarpe):
    Hi Claus,

Just sending a long vale of 149 will not cause the TimePatternConverter to kick in... Same
is true of negative Strings.

I will add a Test to discover the TypeConverter and add a stopwatch test to the Timer test

I have made the other changes 
  
> Add time millis converter which can convert from String to long
> ---------------------------------------------------------------
>
>                 Key: CAMEL-2631
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2631
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>         Attachments: time-pattern-converter-patch4.diff
>
>
> Its currently a bit annoying to set a delay by millis and if you need, like 1 hour 30
min period. What is this in millis?
> We should add a TypeConverter for that which has a String notation such as:
> {code}
> 1h30m
> 3h45m25s
> 10m
> 15m20s
> 30s
> {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