Relative Content

Tag Archive for javaspringspring-batchbatch-processingspring-batch-tasklet

Putting object in job execution context making the batch stuck in partition step

I have a map or list of custom class to store in job execution context which I need to use in processor. So when I am putting that map or list object in job execution context in tasklet than my tasklet step gets completed but the next step which starts with partitioning the data gets stuck in starting status for long time.
If I put any string object on job execution context then the partition step gets called and not get stuck.
What is the issue here with it ?