You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/23 06:46:00 UTC
[jira] [Commented] (CAMEL-14878) Timeouts and durations should use
a java.time.Duration instead of long
[ https://issues.apache.org/jira/browse/CAMEL-14878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114566#comment-17114566 ]
Claus Ibsen commented on CAMEL-14878:
-------------------------------------
Added PR with unit test that should pass when this is implemented
https://github.com/apache/camel/commit/702dad5d94c64ad299f12f6f460a43d942c1fb19
> 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: Improvement
> Components: camel-core
> Affects Versions: 3.2.0
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 3.4.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)