You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/11/21 15:48:33 UTC

[jira] [Resolved] (CAMEL-8068) SplitAttachmentsExpression should set ID of splited attachment

     [ https://issues.apache.org/jira/browse/CAMEL-8068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-8068.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.15.0
                   2.14.1
         Assignee: Claus Ibsen

Thanks for the patch.

We do like when there is an unit test with code changes so we can verify this.


> SplitAttachmentsExpression should set ID of splited attachment
> --------------------------------------------------------------
>
>                 Key: CAMEL-8068
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8068
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 2.14.0
>            Reporter: Christoph Läubrich
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.14.1, 2.15.0
>
>         Attachments: CAMEL-8068.patch
>
>
> The https://svn.apache.org/repos/asf/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/SplitAttachmentsExpression.java currently splits the attachments by each ID but do not provide the ID as an additional header.
> It would be usefull for the processing code to know the ID so they simply get them e.g. by getAttachment(header[CamelSplitAttachmentName]) instead of looking in the map for names etc. or iterate over it.



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