davsclaus commented on PR #30212:
URL: https://github.com/apache/camel/pull/30212#issuecomment-6921397001

   On the `NOT_INHERITED_OPTIONS` finding: you are right, `copyOptions` copied 
`allowPartClassFromHeader` from the context JAXB data format to the binding's 
data formats. Fixed in 81a0e49b3467: `allowpartclassfromheader` is in the set, 
next to `partclass`. `JaxbRestBindingPartClassTest` now also enables the option 
on the context data format and posts a request with `CamelJaxbPartClass` naming 
another class: the body is still a `PurchaseOrder`. Without the fix the test 
fails with `Bar is not known to this context`, so the header was used. The 
`rest-dsl-binding.adoc` note and both upgrade guide entries (CAMEL-26981 and 
this one) list the option now.
   
   _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