Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.14.5, 3.18.1
-
None
-
None
-
Unknown
Description
The StopWatch in camel-util is based on the System clock and uses it to calculate durations. However, the system clock is not an appropriate source for measuring durations because it can go back in time or have time leaps that do not reflect reality (ex.: when changing standard time to daylight saving and vice versa, when having micro adjustments due to NTP synchronization, when the date is manually changed, etc).
We should probably investigating replacing the source with Java's high resolution timer or (potentially) the Duration class.
Attachments
Issue Links
- is related to
-
CAMEL-19734 SEDA endpoint with multiple consumers produces strange message history from error handler
- Resolved
- links to