Croway opened a new pull request, #27141:
URL: https://github.com/apache/camel/pull/27141

   [CAMEL-25195](https://issues.apache.org/jira/browse/CAMEL-25195)
   
   The `send` dev console (and the `send` action of camel-cli-connector) only 
takes the body as text, so tools cannot send binary payloads.
   
   - New `bodyEncoding` option: `base64` decodes the body and sends it as 
`byte[]`; the `file:` prefix is not interpreted for encoded bodies; any other 
value is reported as an error (`status: error`).
   - `LocalCliConnector` forwards `bodyEncoding` from the `send` action.
   - Regenerated `send.json` (console + catalog) and 
`dev-consoles-openapi.json`.
   
   Compatibility: the Camel CLI and TUI never set `bodyEncoding`, so they are 
unaffected. The option name is now reserved like `body` and `poll`: a user 
header named exactly `bodyEncoding` is treated as the option instead of a 
header.
   
   Tests: `SendDevConsoleTest` (base64 bytes delivered, no leaked header, 
`file:` not interpreted, invalid/unsupported encoding).
   
   _Claude Code on behalf of Croway_
   


-- 
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