Re: Splitter and Aggregater onCompletion

2022-11-08 Thread Claus Ibsen
egy had sub interfaces for all of that, but now in v3 with default methods on interfaces its merged into a single interface. > -Original Message- > From: Claus Ibsen > Sent: Tuesday, 8 November 2022 11:54 > To: users@camel.apache.org > Subject: Re: Splitter and Aggregater onCompletion

RE: Splitter and Aggregater onCompletion

2022-11-08 Thread Reto Peter
to the AggregationStrategy, I mean the completionSize, completionInterval or completionTimeout? -Original Message- From: Claus Ibsen Sent: Tuesday, 8 November 2022 11:54 To: users@camel.apache.org Subject: Re: Splitter and Aggregater onCompletion What camel version do you use? On Tue, Nov 8, 2022 at 11

Re: Splitter and Aggregater onCompletion

2022-11-08 Thread Claus Ibsen
.to("sql:INSERT something"); >> >> So that means, in this route the onCompletion of the Aggregator is called >> cause the entire route is completed? >> >> -Original Message- >> From: Claus Ibsen >> Sent: Tuesday, 8 November 20

Re: Splitter and Aggregater onCompletion

2022-11-08 Thread Claus Ibsen
> -Original Message- > From: Claus Ibsen > Sent: Tuesday, 8 November 2022 09:50 > To: users@camel.apache.org > Subject: Re: Splitter and Aggregater onCompletion > > Hi > > onCompletion is its own EIP > https://camel.apache.org/manual/oncompletion.html > >

RE: Splitter and Aggregater onCompletion

2022-11-08 Thread Reto Peter
pleted? -Original Message- From: Claus Ibsen Sent: Tuesday, 8 November 2022 09:50 To: users@camel.apache.org Subject: Re: Splitter and Aggregater onCompletion Hi onCompletion is its own EIP https://camel.apache.org/manual/oncompletion.html The onCompletion works on the incoming ex

Re: Splitter and Aggregater onCompletion

2022-11-08 Thread Claus Ibsen
Hi onCompletion is its own EIP https://camel.apache.org/manual/oncompletion.html The onCompletion works on the incoming exchange in the route, and the aggregator is separated from that incoming exchange, as the output of the aggregator runs its own "lifecycle", in its own exchange. So it has no

Splitter and Aggregater onCompletion

2022-11-08 Thread Reto Peter
Hi all I am using a Splitter and an Aggregator. All of the output are written into the final result. But at the end of the Split, I wanted to add something more. This is where the 'onCompletion' method inside the Aggregator can be used (in my mind, cause that works for scenarios without a