Brijesh-Thakkar opened a new pull request, #26628: URL: https://github.com/apache/camel/pull/26628
## Description The `useHeaderFrom`, `useHeaderRecipients`, `useHeaderSubject`, and `useHeaderReplyTo` options in the Camel Mail component are documented with a default value of `true`, but their `@UriParam` metadata did not specify `defaultValue = "true"`. As a result, the generated component metadata reported these options with a default value of `false`. This change adds `defaultValue = "true"` to the four affected `@UriParam` annotations in `MailConfiguration.java` and regenerates the affected Mail component metadata files. ## Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) ## Tracking - [x] JIRA issue: CAMEL-24848 ## Apache Camel coding standards and style - [x] I checked that the commit has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes. The full `mvn clean install -DskipTests` build was not completed locally. A broader build attempt failed during compilation of the unrelated `camel-api` module before `camel-mail` was reached. The focused Camel Mail test passed: `MailHeaderOverrideOptionsTest`: 11 tests, 0 failures, 0 errors. All generated metadata changes resulting from the `MailConfiguration.java` change are included in this pull request. ## AI-assisted contributions This PR was prepared with assistance from OpenCode using the Nemotron 3.5 model, operated by Brijesh Thakkar. -- 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]
