Andrea Cosentino created CAMEL-26853:
----------------------------------------

             Summary: camel-odata: keep internal HTTP request headers out of 
the mapped result
                 Key: CAMEL-26853
                 URL: https://issues.apache.org/jira/browse/CAMEL-26853
             Project: Camel
          Issue Type: Bug
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.24.0


The OData producer delegates to an internal HTTP exchange and maps its result 
back to the original exchange. Keep the original caller headers and map the 
documented response metadata without adding request-only headers from the 
internal exchange.

Update ODataProducer result mapping while preserving response status, ETag, 
count, nextLink and the existing caller-header precedence. Add focused tests 
for configured endpoint options, caller headers, response headers, empty 
responses and failed responses.

Update the component documentation and generated catalog mirror, and describe 
changes to returned headers in the 4.24 upgrade guide.

_AI-generated by Codex on behalf of @oscerd._



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to