camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald Dehuysser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7109) Attachments are not correctly ordered
Date Mon, 06 Jan 2014 21:31:50 GMT
Ronald Dehuysser created CAMEL-7109:
---------------------------------------

             Summary: Attachments are not correctly ordered
                 Key: CAMEL-7109
                 URL: https://issues.apache.org/jira/browse/CAMEL-7109
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.12.2, 2.12.0, 2.11.1
            Reporter: Ronald Dehuysser
            Priority: Minor


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.1.5#6160)

Mime
View raw message