camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Karpe (JIRA)" <>
Subject [jira] Commented: (CAMEL-2631) Add time millis converter which can convert from String to long
Date Thu, 22 Apr 2010 13:19:24 GMT


Ashwin Karpe commented on CAMEL-2631:

Hi Claus,

I got everything to work yesterday including the Timer component where the problem was that
I had missed adding the @Conveter annotation at the method level.

In any case, I ran into a different issue.Camel's checkstyle sourcecheck did not like the
Pattern without a ^ and $. I have to make some changes to the code to make it all go through
without side-effects.

BTW, I also found another file component based test which fails sourcecheck. I did not look
into it further but will do so at the earliest convenience following my fixes.




> Add time millis converter which can convert from String to long
> ---------------------------------------------------------------
>                 Key: CAMEL-2631
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>         Attachments: time-pattern-converter-patch2.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.

View raw message