Spring integration: how to handle exceptions in services after an aggregator?
I have an application relying on Spring Integration (4.0.4.RELEASE) and RabbitMQ. My flow is as follow: Messages are put in queue via a process (they do not expect any answer): Gateway -> Channel -> RabbitMQ And then drained by another process: RabbitMQ --1--> inbound-channel-adapter A --2--> chain B --3--> aggregator C --4--> service-activator D --5--> final service-activator E Explanations & context The specific thing is that nowhere in my application I am using a splitter: aggregator C just waits for enough messages to come, or for a timeout to expire, and then forwards the batch to service