Announcement Announcement Module
Collapse
No announcement yet.
How to pre-populate ExecutionContext because JobParameter can not accept an object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    can anybody help ? Thanks

    Comment

    Working...
    X