camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9544) Option to add headers to MIME-Multipart in DataFormat
Date Thu, 28 Jan 2016 10:38:40 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121195#comment-15121195
] 

Claus Ibsen commented on CAMEL-9544:
------------------------------------

Thanks for the patch.

Do you mind updating the docs at
http://camel.apache.org/mime-multipart.html

> Option to add headers to MIME-Multipart in DataFormat
> -----------------------------------------------------
>
>                 Key: CAMEL-9544
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9544
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-mail
>            Reporter: Stephan Siano
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.17.0
>
>         Attachments: 0001-CAMEL-9544-Option-to-add-headers-to-MIME-Multipart.patch
>
>
> In some cases it might be useful to add Camel headers to a MIME Multipart when the MIME
headers are part of the message body.
> The attached patch allows to transfer header (and attachment) information with protocols
that support neither headers nor attachments (e.g. FTP).
> It adds one additional parameter to the MIME-Multipart DataFormat:
> includeHeaders: A regex that defines which Camel headers are also included as MIME headers
into the MIME multipart. This will only work if headersInline is set to true.
> Default is to include no Camel headers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message