Multipart component
The Multipart component allows you to convert a binary body into a multipart/form-data body without encoding any characters. It is primarily used for uploading files to a server.
Configuration
The Multipart component has the following configuration options:
Field name
Specify the field name that will contain the binary data.
Content-type header
The Multipart component uses the Content-Type
header to determine the MIME type
of the binary body. After processing, it sets the Content-Type
header to multipart/form-data
.
missing filename header
If no filename is defined in a header named CamelFileName
before the conversion, the filename will be set to UndefinedFileName
(without an extension) in the multipart/form-data body.
Last update on Feb 24, 2025