gansheer commented on issue #4144:
URL: https://github.com/apache/camel-k/issues/4144#issuecomment-1479305952

   I think the answer is actually the one that @squakez gave you but you need 
to use the `- set-body` in the right place in your route to be able to access 
the response body instead of the request body.
   
   As for the headers from the IN message, if you want to remove them you need 
to use the [remove headers 
component](https://camel.apache.org/components/next/eips/removeHeaders-eip.html)
   ```yaml
         - removeHeaders:
             pattern: "*"
   ```
   
   
   You can ask more help on the user mailing list or the zulip chat room. Your 
question is more general Camel YAML DSL questions than Camel K specific.
   
   https://camel.apache.org/community/support/
   
   


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to