Croway opened a new pull request, #30046: URL: https://github.com/apache/camel/pull/30046
JIRA: [CAMEL-26988](https://issues.apache.org/jira/browse/CAMEL-26988) - The servlet Rest DSL consumer installed a `ServletRestHttpBinding` that copied only some endpoint options, so `attachmentMultipartBinding`, `fileNameExtWhitelist`, `logException` and `mapHttpMessageBody` had no effect, and a `ServletRestHttpBinding` set on the component was replaced. - The Rest DSL binding now gets these options (and the component `deserializationFilter`). In attachment mode it reads the multipart parts with the same code as `AttachmentHttpBinding`, and it still maps the path placeholders. - A component `httpBinding` is used by the Rest DSL when it extends `ServletRestHttpBinding`. This is documented in the servlet page. Tests: `RestServletAttachmentMultipartBindingTest`, `RestServletMapHttpMessageBodyFalseTest`, `RestServletComponentHttpBindingTest` (they fail on main and pass with the fix). All 132 camel-servlet tests pass. Upgrade guide: 4.24, "camel-servlet - Rest DSL consumers use the endpoint options". _Claude Code on behalf of Federico Mariani_ -- 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]
