Re: aggregate EIP: wrong correlation key set for aggregate exchanges

2023-11-21 Thread Claus Ibsen
Hi Thank you very much for reporting and creating the JIRA and sending the PR Nice to see the small reproducer app running easily with camel-jbang On Mon, Nov 20, 2023 at 8:01 AM Dinu Pavithran wrote: > I am seeing wrong correlation key is set for the first exchange emitted > from aggregate EI

Re: aggregate EIP: wrong correlation key set for aggregate exchanges

2023-11-20 Thread Dinu Pavithran
This appears to be a bug. The attached test case is failing at line #95 The issue appears to be around the following line of code: onCompletion(batchKey, originalExchange, batchAnswer, false, aggregateFailed); https://github.com/apache/camel/blob/cd5c790e18f00288d1ac62aca909efb99a7a4846/core/cam

aggregate EIP: wrong correlation key set for aggregate exchanges

2023-11-19 Thread Dinu Pavithran
I am seeing wrong correlation key is set for the first exchange emitted from aggregate EIP.  In the log below,  Exchange[7F40FFF506AA26C-000D] is aggregating with correlation key: batch-1, but when this exchange is emitted, the property  CamelAggregatedCorrelationKey is set as batch-