Brijesh-Thakkar opened a new pull request, #1998: URL: https://github.com/apache/camel-spring-boot/pull/1998
Summary & Motivation Expression metadata options such as trim and resolveResource originate from Camel's route DSL model (LanguageExpression), not from runtime org.apache.camel.spi.Language bean implementations. Because the underlying runtime Language classes lack setters for these properties (e.g., setTrim(...), setResolveResource(...)), generating them in *LanguageConfiguration.java classes caused Spring Boot's strict @ConfigurationProperties binder to fail at startup. Changes Made Generator Plugin (SpringBootAutoConfigurationMojo.java): Updated createLanguageConfigurationSource to filter out trim and resolveResource alongside existing skipped expression metadata options (id, expression, resultType). Regenerated Artifacts: Stripped invalid configuration options from all 27 generated *LanguageConfiguration.java classes. Updated corresponding starter metadata files (*.json). Updated published starter documentation (*.adoc). Testing & Verification Rebuilt the generator plugin (tooling/camel-spring-boot-generator-maven-plugin). Ran starter auto-generation via mvn compile -Pgenerate -f components-starter. Executed starter unit tests across affected modules (camel-bean-starter, camel-xpath-starter, camel-groovy-starter, etc.) to confirm successful Spring Boot property binding. -- 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]
