[jira] [Commented] (CAMEL-12709) UseOriginalAggregationStrategy in outer loops

2018-08-16 Thread Matthias Humbert (JIRA)


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

Matthias Humbert commented on CAMEL-12709:
--

Hi

Do you already know when the bug fix release is planned?

Thanks, Matthias

> UseOriginalAggregationStrategy in outer loops
> -
>
> Key: CAMEL-12709
> URL: https://issues.apache.org/jira/browse/CAMEL-12709
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Matthias Humbert
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 2.21.3, 2.22.1, 2.23.0
>
>
> Using splitters with the UseOriginalAggregationStrategy +in a loop+ causes 
> the splitter to return always the same original exchange.
>  
> {code:java}
> // my code is similar to the following one:
> from("direct:myLoop")
>   .loop(simple("{{export.maxLoopsPerRun}}"))
> .setHeader(...) // changing header fields
> .split(body(), new UseOriginalAggregationStrategy(null, false))
>   .to("direct:handleRecord")
> .end()
> .log("${in.headers}") // the headers of the exchange of the very first 
> loop iteration
>   .end()
> {code}
> Reason: Once the original exchange is set by 
> UseOriginalAggregationStrategy#setOriginal(Exchange), it is not updated any 
> more for loop iterations > 1.
>  



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


[jira] [Commented] (CAMEL-12709) UseOriginalAggregationStrategy in outer loops

2018-08-14 Thread Matthias Humbert (JIRA)


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

Matthias Humbert commented on CAMEL-12709:
--

Thank you for the fix (my use case should now work too according to the new 
code on gitlab).

> UseOriginalAggregationStrategy in outer loops
> -
>
> Key: CAMEL-12709
> URL: https://issues.apache.org/jira/browse/CAMEL-12709
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Matthias Humbert
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 2.21.3, 2.22.1, 2.23.0
>
>
> Using splitters with the UseOriginalAggregationStrategy +in a loop+ causes 
> the splitter to return always the same original exchange.
>  
> {code:java}
> // my code is similar to the following one:
> from("direct:myLoop")
>   .loop(simple("{{export.maxLoopsPerRun}}"))
> .setHeader(...) // changing header fields
> .split(body(), new UseOriginalAggregationStrategy(null, false))
>   .to("direct:handleRecord")
> .end()
> .log("${in.headers}") // the headers of the exchange of the very first 
> loop iteration
>   .end()
> {code}
> Reason: Once the original exchange is set by 
> UseOriginalAggregationStrategy#setOriginal(Exchange), it is not updated any 
> more for loop iterations > 1.
>  



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


[jira] [Issue Comment Deleted] (CAMEL-12709) UseOriginalAggregationStrategy in outer loops

2018-08-13 Thread Matthias Humbert (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Humbert updated CAMEL-12709:
-
Comment: was deleted

(was: Guten Tag

Ich bin am 20. August wieder im Büro.

Freundliche Grüsse
Matthias Humbert
)

> UseOriginalAggregationStrategy in outer loops
> -
>
> Key: CAMEL-12709
> URL: https://issues.apache.org/jira/browse/CAMEL-12709
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Matthias Humbert
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 2.21.3, 2.22.1, 2.23.0
>
>
> Using splitters with the UseOriginalAggregationStrategy +in a loop+ causes 
> the splitter to return always the same original exchange.
>  
> {code:java}
> // my code is similar to the following one:
> from("direct:myLoop")
>   .loop(simple("{{export.maxLoopsPerRun}}"))
> .setHeader(...) // changing header fields
> .split(body(), new UseOriginalAggregationStrategy(null, false))
>   .to("direct:handleRecord")
> .end()
> .log("${in.headers}") // the headers of the exchange of the very first 
> loop iteration
>   .end()
> {code}
> Reason: Once the original exchange is set by 
> UseOriginalAggregationStrategy#setOriginal(Exchange), it is not updated any 
> more for loop iterations > 1.
>  



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


[jira] [Commented] (CAMEL-12709) UseOriginalAggregationStrategy in outer loops

2018-08-06 Thread Matthias Humbert (JIRA)


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

Matthias Humbert commented on CAMEL-12709:
--

Guten Tag

Ich bin am 20. August wieder im Büro.

Freundliche Grüsse
Matthias Humbert


> UseOriginalAggregationStrategy in outer loops
> -
>
> Key: CAMEL-12709
> URL: https://issues.apache.org/jira/browse/CAMEL-12709
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 2.21.2
>Reporter: Matthias Humbert
>Priority: Major
>
> Using splitters with the UseOriginalAggregationStrategy +in a loop+ causes 
> the splitter to return always the same original exchange.
>  
> {code:java}
> // my code is similar to the following one:
> from("direct:myLoop")
>   .loop(simple("{{export.maxLoopsPerRun}}"))
> .setHeader(...) // changing header fields
> .split(body(), new UseOriginalAggregationStrategy(null, false))
>   .to("direct:handleRecord")
> .end()
> .log("${in.headers}") // the headers of the exchange of the very first 
> loop iteration
>   .end()
> {code}
> Reason: Once the original exchange is set by 
> UseOriginalAggregationStrategy#setOriginal(Exchange), it is not updated any 
> more for loop iterations > 1.
>  



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


[jira] [Created] (CAMEL-12709) UseOriginalAggregationStrategy in outer loops

2018-08-03 Thread Matthias Humbert (JIRA)
Matthias Humbert created CAMEL-12709:


 Summary: UseOriginalAggregationStrategy in outer loops
 Key: CAMEL-12709
 URL: https://issues.apache.org/jira/browse/CAMEL-12709
 Project: Camel
  Issue Type: Bug
  Components: camel-core
Affects Versions: 2.21.2
Reporter: Matthias Humbert


Using splitters with the UseOriginalAggregationStrategy +in a loop+ causes the 
splitter to return always the same original exchange.

 
{code:java}
// my code is similar to the following one:
from("direct:myLoop")
  .loop(simple("{{export.maxLoopsPerRun}}"))
.setHeader(...) // changing header fields
.split(body(), new UseOriginalAggregationStrategy(null, false))
  .to("direct:handleRecord")
.end()
.log("${in.headers}") // the headers of the exchange of the very first loop 
iteration
  .end()
{code}
Reason: Once the original exchange is set by 
UseOriginalAggregationStrategy#setOriginal(Exchange), it is not updated any 
more for loop iterations > 1.

 



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