Some refactoring
This commit is contained in:
parent
dfcc982e8f
commit
6dd702867e
|
@ -47,7 +47,7 @@ public class SpringBatchRetryConfig {
|
||||||
@Value("file:xml/retryOutput.xml")
|
@Value("file:xml/retryOutput.xml")
|
||||||
private Resource outputXml;
|
private Resource outputXml;
|
||||||
|
|
||||||
public ItemReader<Transaction> itemReader(Resource inputData) throws UnexpectedInputException, ParseException {
|
public ItemReader<Transaction> itemReader(Resource inputData) throws Exception {
|
||||||
DelimitedLineTokenizer tokenizer = new DelimitedLineTokenizer();
|
DelimitedLineTokenizer tokenizer = new DelimitedLineTokenizer();
|
||||||
tokenizer.setNames(tokens);
|
tokenizer.setNames(tokens);
|
||||||
DefaultLineMapper<Transaction> lineMapper = new DefaultLineMapper<>();
|
DefaultLineMapper<Transaction> lineMapper = new DefaultLineMapper<>();
|
||||||
|
|
Loading…
Reference in New Issue