[
https://issues.apache.org/jira/browse/CAMEL-9938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297828#comment-15297828
]
Claus Ibsen commented on CAMEL-9938:
------------------------------------
What could be added is a regular type converter that converts a String ->
Duration. And maybe also Duration -> long where the value is in millis.
> TimerPatternConverter - Should be more strict
> ---------------------------------------------
>
> Key: CAMEL-9938
> URL: https://issues.apache.org/jira/browse/CAMEL-9938
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.17.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.18.0
>
>
> So it would report an error if attempting to use
> delay=5ssegegegegqergerg
> eg as today its too lenient and assume people do not make typo's. So if you
> type 5s then its 5 seconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)