You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ronny Aerts (JIRA)" <ji...@apache.org> on 2018/05/15 16:54:00 UTC

[jira] [Created] (CAMEL-12515) the camel splitter loses attachments

Ronny Aerts created CAMEL-12515:
-----------------------------------

             Summary: the camel splitter loses attachments
                 Key: CAMEL-12515
                 URL: https://issues.apache.org/jira/browse/CAMEL-12515
             Project: Camel
          Issue Type: Improvement
          Components: camel-core-xml
    Affects Versions: 2.20.3
         Environment: I use camel 2.20.3 in xml not java. 
            Reporter: Ronny Aerts


* I have a process which uses at lot of attachments (coming in from a mail) and I have to filter on several of them.
 * I created a javascript to loop over the attachments and use the attachment id in combination with a regex to determine if the attachment is applicable. Several of these attachments can be applicable. I keep an ArrayList of applicable attachments which I put in the body. 
 * I split on the (arraylist) body to handle the individual attachments one by one but this doesn't work because there are no attachments anymore inside the split. 
 * It would be very helpful to me if I could use the attachments inside the split. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)