for (int i = 0; i < 30; i++) {
SequenceGeneratorSource source = new SequenceGeneratorSource();
List<Channel> channels = new ArrayList<Channel>();
channels.add(new MemoryChannel());
ChannelSelector rcs = new ReplicatingChannelSelector();
rcs.setChannels(channels);
source.setChannelProcessor(new ChannelProcessor(rcs));
PollableSourceRunner sourceRunner = new PollableSourceRunner();
sourceRunner.setSource(source);