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

Guillaume Nodet edited comment on CAMEL-14878 at 4/15/20, 8:13 AM:
-------------------------------------------------------------------

[[email protected]] sure, please do.

Note that the endpoint dsl may need to be improved if we want to keep some 
level of compatibility so that properties of type {{Duration}} will be exposed 
as {{Duration}}, {{long}} or {{String}} instead of just {{Duration}} and 
{{String}} (which will happen when switching the type from {{long}} to 
{{Duration}}).


was (Author: gnt):
[[email protected]] sure, please do.

> Timeouts and durations should use a java.time.Duration instead of long
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-14878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14878
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 3.2.0
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.3.0
>
>
> This would allow to use a specific syntax which has been removed in 3.2.0, 
> such as {{3s}} instead of {{3000}}.   There are also cases where a pair of 
> properties is used (duration / unit) which could be simplified to a single 
> {{java.time.Duration}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to