[
https://issues.apache.org/jira/browse/CAMEL-25195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-25195 started by Federico Mariani.
------------------------------------------------
> camel-console - send dev console: support base64 encoded (binary) message
> bodies
> --------------------------------------------------------------------------------
>
> Key: CAMEL-25195
> URL: https://issues.apache.org/jira/browse/CAMEL-25195
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
>
> The send dev console (and the {{send}} action of camel-cli-connector) only
> takes the message body as text, so tools cannot send binary payloads.
> Add a {{bodyEncoding}} option: when set to {{base64}} the body is decoded and
> sent as {{byte[]}}. The {{file:}} prefix is not interpreted for encoded
> bodies, and an unsupported encoding is reported as an error. {{bodyEncoding}}
> becomes a reserved name like {{body}} and {{poll}}, so it is no longer sent
> as a message header.
> Needed by developer tools driving an integration through camel-cli-connector
> (e.g. Kaoto injecting binary messages).
> _Claude Code on behalf of Croway_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)