Christoph Läubrich created CAMEL-8068:
-----------------------------------------

             Summary: 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


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)

Reply via email to