You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/05/01 08:58:00 UTC
[jira] [Updated] (CAMEL-22042) camel-http - Make it easier to do file upload as MultiPart-Form
[ https://issues.apache.org/jira/browse/CAMEL-22042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-22042:
--------------------------------
Fix Version/s: 4.12.0
(was: 4.x)
> camel-http - Make it easier to do file upload as MultiPart-Form
> ---------------------------------------------------------------
>
> Key: CAMEL-22042
> URL: https://issues.apache.org/jira/browse/CAMEL-22042
> Project: Camel
> Issue Type: Improvement
> Components: camel-http
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.12.0
>
>
> [https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/multipart.2Fform-data.20file.20upload]
>
> [https://github.com/apache/camel/commit/aa3ac733def1a130a6b910e6c67d0eea2b10b603]
>
> We should make it easier to do a file upload where you can tell Camel to make the message body into MultiPart. So the body can be a File / GenericFile / or input stream, and then Camel will create an MutlipartEntity with a single entity of data.
> Today you need to build this using java code as shown in the unit test.
> The FileEntity is not multipart but just a POST of the file as-is
--
This message was sent by Atlassian Jira
(v8.20.10#820010)