step « Batch « Spring Q&A





1. How can we share data between the different steps of a Job in Spring Batch?    stackoverflow.com

Digging into Spring Batch, I'd like to know as to How can we share data between the different steps of a Job? Can we use JobRepository for this? If yes, how can ...

2. Spring Batch base step with listeners    stackoverflow.com

I would like to setup a base step has a logger listener attached for making sure that all the error logs end up in the correct file. The setup below i ...

3. Spring Batch: How do I use placeholders in step listeners?    stackoverflow.com

<beans>
<batch:job id="job1" restartable="false">
  <batch:step id="step1" next="step2">
    <batch:tasklet>
      <batch:chunk reader="readerA" writer="writerA" commit-interval="1" />
    </batch:tasklet>
  </batch:step>
  <batch:step id="step2">
  ...

4. How to call another step within an chunk process in Spring Batch?    stackoverflow.com

Is the following possible/advisable with Spring Batch? I have a csv file, say foo.csv. I set up a chunk process that reads the file into Foo objects and then processes them into ...

5. Mysterious spring batch step exit    forum.springsource.org

Mysterious spring batch step exit Hi all, I am using JpapagingItemreader/writer to migrate some data across different databases. By executing the SQL equivalent of the JPA query of itemreader, we know ...

6. batch:step and initialization    forum.springsource.org

batch:step and initialization Hey guys, I am having problems with lazy init and spring batch jobs. So, I am developing an application that has 3 jobs. Each job uses different databases. ...

7. Reloading spring batch jobs/steps after initial creation    forum.springsource.org

Reloading spring batch jobs/steps after initial creation To make the long story short : how can I reload/modify existing spring batch job beans (e.g. jobs, steps, tasklets) after they have been ...

8. Changing the batch status of a STEP.    forum.springsource.org

I have to change the 'STATUS' of step to 'BatchStatus.FAILED' when the 'EXIT_CODE' of a Step is 'ExitStatus.FAILED'. Is there any way to do this? Any help would be appreciable. Regards, ...

9. Integrate Spring Batch Steps from MDB    forum.springsource.org

Did you mean to say that you want to launch a Spring Batch job from an MDB? If so I suggest you look at the quartz and JMX samples (the latter ...





10. How to disable a step in a batch-job    forum.springsource.org

How to disable a step in a batch-job We have a batch job consisting of 24 steps, - skipLimitSteps, simpleSteps and tasklets. Sometimes we would like to disable 1 or 2 ...

11. configure mutithread and parallel step for a batch load    forum.springsource.org

configure mutithread and parallel step for a batch load I am evaluating the technology for a batch load. Our input volume is 6 million record. I am doing springbatch vs ETL ...

12. Spring batch 2 pass object between step    forum.springsource.org

Hi Everyone, Currently I have a problem with my code, I am trying to pass object between steps. is that possible to do that ? I try to use JobExecutionContext but ...

13. Spring Batch - Step Exclusion    forum.springsource.org

Spring Batch - Step Exclusion Hi, I am working with a batch application, which is being developed in Spring Batch framework. I have defined a Job, which contains 3 steps. From ...

14. Multi-threaded (partitioned step) batch summary processing advice needed    forum.springsource.org

Multi-threaded (partitioned step) batch summary processing advice needed Hey guys, I've been reading over some of the Spring Batch related documentation and have a couple of questions regarding a job flow. ...

15. Problem unit testing a batch job with step-scoped components    forum.springsource.org

Problem unit testing a batch job with step-scoped components Hi, I'm trying to unit test the end-to-end execution of my batch job. The batch job uses the step scope and late ...

16. Spring Batch 2.1.3 - Complex FlowStep, shared/pass data between steps    forum.springsource.org

Spring Batch 2.1.3 - Complex FlowStep, shared/pass data between steps Hi all, In previous Spring Batch versions, we cannot define a partition step which has handler step is a flow, as ...