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

   Backport of #25635 to the `camel-4.22.x` maintenance branch.
   
   Fixes [CAMEL-24410](https://issues.apache.org/jira/browse/CAMEL-24410): 
`camel export` fails when YAML routes use Duration-typed options (e.g. quoted 
`redeliveryDelay: "500"`), while `camel run` works.
   
   During export, `ExportTypeConverter` is registered with 
`TypeConverterExists.Override` and replaces the default String-to-Duration 
converter, but did not handle `Duration`, causing 
`NoTypeConversionAvailableException`. This adds `Duration` parsing via 
`TimeUtils.toDuration`.
   
   Cherry-picked cleanly from main (`62c0150`). Verified locally on the 4.22.x 
branch:
   - `ExportTypeConverterTest` — 4 tests pass
   - `ExportTest#shouldExportRouteConfigurationWithStringRedeliveryDelay` — 3 
tests pass (main, Spring Boot, Quarkus runtimes)
   
   ---
   _Backport prepared by Claude Code on behalf of davsclaus_


-- 
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