Re: How to stop aggregate on exception

2024-01-31 Thread Jeremy Ross
Aggregated exchanges are fundamentally disconnected from the point of aggregation. I don't know of a way to circumvent this using standard features. You might consider creating a processor that performs your aggregation logic. On Wed, Jan 31, 2024 at 6:07 AM Aditya Kavathekar < kavathekar.adi...@g

Re: How to stop aggregate on exception

2024-01-31 Thread Aditya Kavathekar
Hi Jeremy, Thanks for your response. I tried the SynchronusExecutorService it is still not stopping incase of exception. The aggregation is getting continued. Please let me know if I can try something else. Thanks, Aditya On Wed, 31 Jan 2024, 12:58 am Jeremy Ross, wrote: > Using a standalone a

Re: How to stop aggregate on exception

2024-01-30 Thread Jeremy Ross
Using a standalone aggregator as you've configured will result in the aggregations completing in a separate thread with the side effect that the aggregated exchange is completely disconnected from the split. And you're correct that if you use the splitter's aggregation slot that you don't get to p