This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 95f88d70a0b CAMEL-20225: minor documentation improvements for the 
clock API (#12646)
95f88d70a0b is described below

commit 95f88d70a0b26193fcdd74e1c213db802509e03c
Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com>
AuthorDate: Thu Jan 4 09:37:56 2024 +0100

    CAMEL-20225: minor documentation improvements for the clock API (#12646)
---
 .../modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc           | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
index 4fea0c6c367..83729a1b606 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
@@ -11,10 +11,13 @@ from both 4.0 to 4.1 and 4.1 to 4.2.
 The `org.apache.camel.spi.DataFormat` has changed exception thrown from 
`IOException` to `Exception`
 in the unmarshal(Exchange exchange, InputStream stream)` method.
 
-Removed the deprecated constructor from the internal class 
`org.apache.camel.util.StopWatch`. Users of this class are advised to
-use the default constructor if necessary.
+Removed the deprecated constructor from the internal class 
`org.apache.camel.util.StopWatch`. Users of this class are advised to use the 
default constructor if necessary.
 
-The method `getCreated` is now deprecated. Access to the time-related 
information from the exchange should be done via `getClock`.
+The method `getCreated` from the `org.apache.camel.Exchange` is now 
deprecated. Access to the time-related information from the exchange should be 
done via `getClock`.
+
+We standardized and consolidated code computing durations so that they use a 
monotonic clock.
+
+Durations and some time-related information were consolidated in a new 
internal Clock API.
 
 The `lookup` method in 
`org.apache.camel.component.properties.PropertiesLookup` now has a 2nd 
parameter for the default value.
 

Reply via email to