) {
return aggregate(oldExchange, newExchange);
}
Or I put the original message to message header?
Thomas
-Ursprüngliche Nachricht-
Von: Claus Ibsen
Gesendet: Montag, 16. Dezember 2019 06:35
An: users@camel.apache.org
Betreff: Re: Aggregation and unitOfWork
Hi
The output of the aggregate is
Hi
The output of the aggregate is not tied to any of its input, its a
separate new exchange, so they dont' share any unit of work etc.
So the data you want as output from the aggregator, you must then add
via the aggregation strategy
On Thu, Dec 12, 2019 at 2:56 PM wrote:
>
> Hi,
>
> Aggration s
Hi,
Aggration seems to lost the connection to original Message.
I have the following construct:
from(FILE_IN_URI)
.split(new ZipSplitter()).shareUnitOfWork()
.streaming()
.choice()
.when(simple("${in.header.CamelFileName} ends with 'xml'"))