Spring Batch Archive

MultiResourceItemReader in Spring Batch Example

Class MultiResourceItemReader 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 …

Spring Batch Example XML to MongoDB

Spring Batch and MongoDB- In Spring Batch 2.2.0 version introduce NoSQL database support with introducing org.springframework.batch.item.data package which contain following classes. AbstractPaginatedDataItemReader.class GemfireItemWriter.class MongoItemReader.class MongoItemWriter.class Neo4jItemReader.class Neo4jItemWriter.class RepositoryItemReader.class RepositoryItemWriter.class SpELMappingGemfireItemWriter.class Spring Batch 2.2.0 Spring Batch …