[ 
https://issues.apache.org/jira/browse/CAMEL-12515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542843#comment-16542843
 ] 

Ronny Aerts commented on CAMEL-12515:
-------------------------------------

The mails I have to handle contain an html body, a text attachment, several pdf 
attachments and probable also an excel attachment. The overall result needs 
information from all of them. The html body is converted to xml, the pdf 
attachments are converted to text and then to xml. All the attachments have to 
be kept at all times because at the end, the mail has to be forwarded at a 
whole.  

> 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)

Reply via email to