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

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   Fixes 12 YAML DSL bugs reported by Federico Mariani (CAMEL-23981 through 
CAMEL-23992):
   
   - **CAMEL-23981**: `springTransactionErrorHandler` was creating 
`JtaTransactionErrorHandlerDefinition` instead of 
`SpringTransactionErrorHandlerDefinition`
   - **CAMEL-23982**: Bean cache cleared too early when loading multiple YAML 
files
   - **CAMEL-23983**: `@YamlProperty` flag emission swapped 
`withRequired`/`withDeprecated` and `withIsSecret` used wrong accessor
   - **CAMEL-23984**: Unsupported top-level YAML mappings silently ignored 
without warning
   - **CAMEL-23985**: Pipe handling lacked validation for unsupported ref 
kinds, missing sink endpoint, and empty errorHandler
   - **CAMEL-23986**: `routeConfiguration` lost line number, source location, 
and resource metadata
   - **CAMEL-23987**: Missing `note` property on `from`, `routeConfiguration`, 
and `kamelet` deserializers
   - **CAMEL-23988**: MultiValue endpoint parameters not flattened when URI has 
a path
   - **CAMEL-23989**: `nodeAt()` matched later pointer segments at wrong depth 
due to leading `/` handling
   - **CAMEL-23990**: `MessageFormat` crash when error messages contain curly 
braces
   - **CAMEL-23991**: `ValidateMojo` ignored `application.yaml` only (not 
`application.properties.yaml`) and used static field for per-instance state
   - **CAMEL-23992**: Inverted `$ref` check in `extractRequiredFromComposition`
   
   ## Test plan
   
   - [x] Unit tests added for CAMEL-23981 (springTransactionErrorHandler type), 
CAMEL-23985 (unsupported ref kind), CAMEL-23986 (line number/location), 
CAMEL-23987 (note property on from/routeConfiguration/kamelet), CAMEL-23989 
(nodeAt 7 tests)
   - [x] All 387 tests in `camel-yaml-dsl` pass (1 pre-existing failure in 
`RestTest` tracked by CAMEL-24004)
   - [x] All tests in `camel-yaml-dsl-common` pass
   - [x] Regenerated schema and deserializer files committed
   
   🤖 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