new String[]{"id", "firstName", "lastName", "birthDate", "email", "phone", "street", "zipCode", "city", "country"}))
.build();
}
public static EasyBatchEngine buildXmlEasyBatchEngine(String customersFile) throws Exception {
return new EasyBatchEngineBuilder()
.registerRecordReader(new XmlRecordReader("customer", new File(customersFile)))
.registerRecordMapper(new XmlRecordMapper<Customer>(Customer.class))
.build();
}