Announcement Announcement Module
Collapse
No announcement yet.
How to define a pattern for multiple filetypes as MultiResourceItemReader property Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X