davsclaus opened a new pull request, #25412:
URL: https://github.com/apache/camel/pull/25412

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   - `CamelContextHelper.parseDuration` now handles the String-to-Duration 
conversion directly using `TimeUtils.toMilliSeconds` instead of delegating to 
the type converter registry.
   - This fixes `NoTypeConversionAvailableException` when parsing plain 
millisecond values like `"20000"` during early route initialization (e.g. 
Resilience4j circuit breaker configuration) when the `DurationConverter` type 
converter is not yet loaded.
   
   Supported formats: plain millis (`20000`), human-readable (`20s`, `1m30s`, 
`500ms`), ISO-8601 (`PT20S`).
   
   ## Test plan
   
   - [x] New `CamelContextHelperParseDurationTest` covering plain millis, 
human-readable, ISO-8601, and null input
   - [x] `mvn test -Dtest=CamelContextHelperParseDurationTest` passes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   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]

Reply via email to