Federico Mariani created CAMEL-25195:
----------------------------------------

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


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)

Reply via email to