Hi Claus, Jira CAMEL-7109 with patch attached was created.
Kind regards, R On Sun, Jan 5, 2014 at 1:16 PM, Claus Ibsen-2 [via Camel] < [email protected]> wrote: > Hi > > Yeah well spotted, a good idea to use a linked so the order is preserved. > > Not sure if the attachments api has any hint to indicate ordering. > Maybe some unique id of the attachment, many be used as workaround in > current Camel version. > > Though fell free to log a JIRA, and as we love contributions you are > welcome to work on a patch also. > http://camel.apache.org/contributing.html > > On Sun, Jan 5, 2014 at 1:04 PM, rdehuyss <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5745564&i=0>> > wrote: > > > 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. > > > > Am I the first one bumping into this? Should I create a Jira ticket? > > > > Thx a lot, > > Ronald > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Message-Attachment-order-tp5745563.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [hidden email]<http://user/SendEmail.jtp?type=node&node=5745564&i=1> > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > Make your Camel applications look hawt, try: http://hawt.io > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Camel-Message-Attachment-order-tp5745563p5745564.html > To unsubscribe from Camel Message Attachment order, click > here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5745563&code=cm9uYWxkLmRlaHV5c3NlckBnbWFpbC5jb218NTc0NTU2M3wxMTM3NTM3NjU3> > . > NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Message-Attachment-order-tp5745563p5745647.html Sent from the Camel - Users mailing list archive at Nabble.com.
