-
Jan 24th, 2013, 10:56 AM
#1
How to define a pattern for multiple filetypes as MultiResourceItemReader property
Hello,
can somebody please give me advice how to configure the MultiResourceItemReader so that all *.txt and all *.csv files are read?
I am thinking about something like:
<bean id="multiResourceReader"
class="org.springframework.batch.item.file.MultiRe sourceItemReader">
<property name="resources" value="classpath:/*.txt;*.csv" />
<property name="delegate" ref="itemReader" />
</bean>
Thanks and br,
Elmar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules