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

2018-08-15 Thread Claus Ibsen (JIRA)


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


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

2018-08-14 Thread Dmitry Volodin (JIRA)


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

Dmitry Volodin commented on CAMEL-12515:


[~ronny.aerts.intris], could you please provide solution using as workaround?

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


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

2018-08-08 Thread Ronny Aerts (JIRA)


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

Ronny Aerts commented on CAMEL-12515:
-

It's to long ago to figure out what really went wrong. I will have solved this 
in another way. 

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


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

2018-08-06 Thread JIRA


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

Önder Sezgin commented on CAMEL-12515:
--

[~ronny.aerts.intris], it is not clear what you are trying to do. if the camel 
exchange body is and iterable object and if you split the body using iterator, 
split is OOB. i am not quite sure what you mean. could you give an example? or 
am i missing something?

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


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

2018-07-13 Thread Ronny Aerts (JIRA)


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


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

2018-07-12 Thread JIRA


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

Önder Sezgin commented on CAMEL-12515:
--

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