You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christoph Läubrich (JIRA)" <ji...@apache.org> on 2014/11/21 11:23:33 UTC
[jira] [Created] (CAMEL-8069) Provide xml component to add
attachments
Christoph Läubrich created CAMEL-8069:
-----------------------------------------
Summary: Provide xml component to add attachments
Key: CAMEL-8069
URL: https://issues.apache.org/jira/browse/CAMEL-8069
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Christoph Läubrich
Currently you can only add attachments from java or scripting code.
It would be nice to have something like addAttachment (like addHeader) for the XML, so you can define (and add) attachments by:
- supply name + file by header values (->FileDataSource)
- supply URL by header values (->URLDataSource)
- use the body of the input message (Inputstream, byte[])
This would allow for easier and uniform handling of attachments e.g. in the mail component.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)