History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BATCH-726
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Dave Syer
Reporter: Joen Moreno
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Spring Batch
BATCH-282

Pass a resource pattern to MultiResourceItemReader as a JobParameter

Created: 14/Jul/08 09:18 AM   Updated: Tuesday 10:11 AM
Component/s: Infrastructure
Affects Version/s: 1.0.1
Fix Version/s: 2.0.0.M3

Time Tracking:
Original Estimate: 0.12d
Original Estimate - 0.12d
Remaining Estimate: 0.12d
Remaining Estimate - 0.12d
Time Spent: Not Specified
Remaining Estimate - 0.12d


 Description  « Hide
In the example MultiResourceItemReader job, the resource pattern is hard coded in the job configuration (see multiResourceJob.xml). There should be a way to pass the resource pattern as a JobParameter. A solution could be something similar to StepExecutionResourceProxy. Also, the job should have a way to gracefully exit if the pattern returns an empty array of resource, i.e., the job should just return a success status with 0 item count in the job metadata. This is to cover a use case where it is acceptable for a scheduled job run to have an empty list of files to process.

 All   Comments   Work Log   Change History   FishEye   Related Builds      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.