Spring Batch conditional step is not working
I am trying to skip the remove and insert steps based on the condition in the deletion Tasklet. For example, when executing removeDepartmentStep, if hasDocuments value in the tasklet is true, then skip and proceed with removeEmployeesStep without “FAILED” job status.
Chaining multiple collections in Spring Batch
I have the following ItemRader
and by passing collectionName and filter parameters from the step, I read 2 collections from mongodb.
How to create dynamic steps in Spring Batch?
I need to repeat deleteStep
and insertStep
for “n” times based on the pair count that would be sent from service. Here is the batch config runs each steps once and deletes / inserts records.
Repeating steps n times in Spring Batch JobBuilder?
I use Spring Batch
in order to copy data between the same collection in different Mongo
databases. As given in the following batch config, I use 2 steps; first delete the existing records and then insert records based on the query. I am sending 2 jobParameters from a service as “collectionName” and “query” and get these parameters from reader and writers.
Repeating steps n times in Spring Batch JobBuilder?
I use Spring Batch
in order to copy data between the same collection in different Mongo
databases. As given in the following batch config, I use 2 steps; first delete the existing records and then insert records based on the query. I am sending 2 jobParameters from a service as “collectionName” and “query” and get these parameters from reader and writers.
Iterating job steps in Spring Batch
I use Spring Batch
in order to copy data between the same collection in different Mongo
databases. As given in the following batch config, I use 2 steps; first delete the existing records and then insert records based on the query. I am sending 2 jobParameters from a service as “collectionName” and “query” and get these parameters from reader and writers.