camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Läubrich (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-8067) Allow 'file' to use attachments content instead of body
Date Fri, 21 Nov 2014 16:15:33 GMT

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

Mime
View raw message