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 2025/06/26 06:38:00 UTC

[jira] [Resolved] (CAMEL-22201) camel-core - Exchange.getClock().getCreated() should be fixed

     [ https://issues.apache.org/jira/browse/CAMEL-22201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-22201.
---------------------------------
    Resolution: Fixed

> camel-core - Exchange.getClock().getCreated() should be fixed
> -------------------------------------------------------------
>
>                 Key: CAMEL-22201
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22201
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.13.0
>
>
> The  MonotonicClock is returning a dynamic value in getCreated() which is confusing and not correct, as if you invoke getCreated() on the same exchange instance multiple times at different intervals, then it returns a different value.
> This clock is used for precise elapsed tracking but also need to have static created timestamp like previously in camel by using System.currentTimeMillis.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)