Results 1 to 3 of 3

Thread: Interstep data

  1. #1
    Join Date
    Dec 2008
    Posts
    10

    Default Interstep data

    Hi guys,

    Thanks for the great product! Just started with Spring Batch 2(was using 1.1 sometime ago)

    I have a question - what's the best way to pass data from step to step? I have a job that consists of tasklets and some need to pass data over to the next step.

    I tried getting JobExecutionContext like this chunkContext.getStepContext().getJobExecutionConte xt() , but it gives me an immutable map that I can't add to.

    Would appreciate any help/advise! Thanks!

  2. #2
    Join Date
    Feb 2008
    Posts
    488

    Default

    There's a section in the reference documentation called "Passing Data to Future Steps": http://static.springframework.org/sp...s.html#d0e7673

  3. #3
    Join Date
    Dec 2008
    Posts
    10

    Default

    Thanks for the advice!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •