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 17:15:33 UTC

[jira] [Comment Edited] (CAMEL-8067) Allow 'file' to use attachments content instead of body

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

Christoph Läubrich edited comment on CAMEL-8067 at 11/21/14 4:14 PM:
---------------------------------------------------------------------

Yes thats what I try, the problem is that as you said the splitter simply splits the attachments, so the file task fails (since it tries to write the body = Mail message). Maybe the MailSplitter is a better place to support this. But I still think it is worth to make the file task support attachments, so you are able to read/write attachments from files.


was (Author: laeubi):
Yes thats what I try, the problem is that as you said the splitter simply splits the attachments, so the file task fails (since it tries to write the body = Mail message). Maybe the MailSplitter is a better place to support this.

> Allow 'file' to use attachments content instead of body
> -------------------------------------------------------
>
>                 Key: CAMEL-8067
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8067
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.14.0
>            Reporter: Christoph Läubrich
>
> It would be nice if the file component would be able to save attachments to files (e.g. from the mail component).
> Currently I invoke a script that first fetch the attachment, get the input stream and then set it to the body. It would be nice if the file-component can do this directly.



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