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-8069) Provide xml component to add attachments
Date Fri, 21 Nov 2014 10:36:33 GMT

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

Claus Ibsen commented on CAMEL-8069:
------------------------------------

Attachments is rarely used and only supported by a few components. 

We do not want to add more into the DSL that will never/very rarely be used.

> 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)

Mime
View raw message