Skip to content

Instantly share code, notes, and snippets.

@guinetik
Created April 5, 2018 17:51
Show Gist options
  • Save guinetik/6a1c1db3c1394d036a113b96205127c6 to your computer and use it in GitHub Desktop.
Save guinetik/6a1c1db3c1394d036a113b96205127c6 to your computer and use it in GitHub Desktop.
FlatFileItemReader
<bean id="itemReader" class="org.springframework.batch.item.file.FlatFileItemReader" scope="step">
<property name="resource" value="file.csv" />
<property name="lineMapper">
<bean class="org.springframework.batch.item.file.mapping.PassThroughLineMapper" />
</property>
<property name="strict" value="true" />
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment