You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ingo Weiss (JIRA)" <ji...@apache.org> on 2014/06/02 15:30:02 UTC

[jira] [Comment Edited] (CAMEL-7109) Attachments are not correctly ordered

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

Ingo Weiss edited comment on CAMEL-7109 at 6/2/14 1:28 PM:
-----------------------------------------------------------

Hello,

Can this patch be applied to Camel 2.10 as well?

Thanks


was (Author: iweiss):
Hello,

Can this patch be applied to Camel 2.10 as well?

> Attachments are not correctly ordered
> -------------------------------------
>
>                 Key: CAMEL-7109
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7109
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.11.1, 2.12.0, 2.12.2
>            Reporter: Ronald Dehuysser
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.3, 2.12.3, 2.13.0
>
>         Attachments: [ronald_dehuysser]__make_sure_attachments_are_ordered.patch
>
>
> Hi all, 
> for a project I'm working on where mail attachments are retrieved from a gmail account, the order of the attachments is very important. 
>  
> In Camel, I use a SplitAttachmentsExpression to split all the attachments and process them sequentially. 
>  
> However, I saw that the method createAttachments in DefaultMessage is using a plain old HashMap, thus resulting in a random order of the attachments. If this would be a LinkedHashMap, the order of the messages would be assured when processing in Camel. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)