gllambi
gllambi

Reputation: 686

group timeout on resequencer creates new groups after expiry

if a resequencer is configured with a group-timeout and the group expires, does it create a new group when a new message arrives to the group or the message is discarded? In case is discarded, we can use the discarded-channel to log them?

thanks in advance

Guzman

Upvotes: 1

Views: 175

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121177

Yes, Resequencer removes groups in case of expire and a new message will form a fresh group.

Actually the same is for Aggregator, but with new option with Spring Integration 4.1 expire-groups-upon-timeout you can change that behaviour.

We should revise it and maybe add to the Resequencer as well.

Upvotes: 1

Related Questions