Split result not being picked up by Aggregator listening to splitter output channel.
I have a service-activator which returns a List<MyObject>.
This list is picked up by a splitter. The splitter just returns the input.
The split output channel is input to an aggregator which has a custom correlation and release strategy.
For some reason if I include the splitter the release strategy is never entered. I can write some extra code to get round this in the release strategy but would prefer to use the splitter.
As far as I understand the splitter should result in 3 messages and 3 isComplete calls on the release strategy, but none occur.
1 does occur if the splitter is removed but the message payload is a List of 3 items...I have other sources which determine the complete state so would prefer the payload type to be the same.
public List<MyObject> split(List<MyObject> list)