MultipleResourceItemReader's resources config issue
I would like to process an *.tar.gz file, after transfer to a working directy(from landing dir copy to scratch dir(ie:/test)), since all the properties/xml config would load at startup, when I config
<bean id="itemReader" class="*.MultipleResourceItemReader"
at that time, I did not unzip the tar.gz file and move to /test, so it can't get any files.
so when job run to this step, it failed.
I wonder if I can setResources() only when the job run to this step other than startup.
I tried lazy-init, it does not work. (spring framework after 2.0)
Any input would be much appreciated!