I used Aggregator in spring integration and saw also that there is PriorityChannel. Is there possibility to use two of these somehow to achieve following requirements:
The PriorityChannel won't help with that, but you can do whatever you want in a custom ReleaseStrategy
...
@FunctionalInterface
public interface ReleaseStrategy {
boolean canRelease(MessageGroup group);
}