[
https://issues.apache.org/jira/browse/CAMEL-12515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541250#comment-16541250
]
Önder Sezgin edited comment on CAMEL-12515 at 7/12/18 7:21 AM:
---------------------------------------------------------------
[~ronny.aerts.intris], why dont you split body and try tosplit attachments?
could please you give an example?
was (Author: onders):
[~ronny.aerts.intris], why dont you split body or split attachments? could
please you give an example?
> 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
> 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)