Class MultiResourceItemReader<T>

All Implemented Interfaces:
ItemReader<T>, ItemStream, ItemStreamReader<T>

public class MultiResourceItemReader<T> extends AbstractItemStreamItemReader<T>
Reads items from multiple resources sequentially - resource list is given by setResources(Resource[]), the actual reading is delegated to setDelegate(ResourceAwareItemReaderItemStream). Input resources are ordered using setComparator(Comparator) to make sure resource ordering is preserved between job runs in restart scenario.
Robert Kasanicky, Lucas Ward, Mahmoud Ben Hassine