-
Jun 25th, 2012, 05:48 PM
#1
How to pre-populate ExecutionContext because JobParameter can not accept an object
I want to send big arraylist to my Job so that I can iterate through ListItemReader. I can not send through JobParameter as it does not accept Object. I may be able to save arraylist in a reference and then access the arraylist in item-reader's beforeStep method. But then, I have to take care of multiple jobs running in parallel.
But is there any elegant way to pre-populate executionContext when JobParameters are created and job is run using JobLauncher ?
Thanks
-
Jun 26th, 2012, 01:52 PM
#2
can anybody help ? Thanks
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