[ https://issues.apache.org/jira/browse/CAMEL-12515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581002#comment-16581002 ]
Claus Ibsen commented on CAMEL-12515: ------------------------------------- Sounds a bit like this FAQ http://camel.apache.org/why-is-my-message-body-empty.html But for attachments, eg they are potentially only readable once (being streaming or something). Also depends what he does in the javascript etc. This is more of end user issue than Camel splitter issue. > 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 > Affects Versions: 2.20.3 > Environment: I use camel 2.20.3 in xml not java. > Reporter: Ronny Aerts > Priority: Minor > > * 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)