davsclaus opened a new pull request, #25447: URL: https://github.com/apache/camel/pull/25447
## Backport of #25412 Cherry-pick of #25412 onto `camel-4.22.x`. **Original PR:** #25412 - CAMEL-24375: parseDuration should handle plain millis value **Original author:** @davsclaus **Target branch:** `camel-4.22.x` ### Original description Consolidate duration parsing into TimeUtils.toDuration() so both CamelContextHelper.parseDuration() and DurationConverter.toDuration() delegate to a single implementation that handles plain millis, human- readable (20s, 1m30s), and ISO-8601 (PT20S) formats. This fixes NoTypeConversionAvailableException when parsing duration values during early route initialization before the type converter registry is loaded. Co-Authored-By: Claude Opus 4.6 <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
