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

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.

Cheers,

Ashwin... 

 

> 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-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.

Reply via email to