Results 1 to 4 of 4

Thread: Same Joblauncher for multiple jobs?

  1. #1
    Join Date
    Mar 2010
    Location
    USA
    Posts
    119

    Default Same Joblauncher for multiple jobs?

    Can I use the same joblauncher for multiple jobs? What are the negatives associated with this approach? Could some one help me in understanding this asap?

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Posts
    119

    Default

    Similarly, can I use the mapjobrepobean for testing out multiple jobs running (its not multiple instances of the same job though?)

  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Posts
    119

    Default

    Might be simple - but please could one of you offer your thoughts in this regard?????

  4. #4
    Join Date
    Sep 2008
    Location
    Chicagoland, IL
    Posts
    349

    Default

    You should be able to. The SimpleJobLauncher does not maintain any type of state for the Job itself. You'll need to configure it to configure it to launch the jobs asynchronously though as documented here: http://static.springsource.org/sprin...ingJobLauncher
    Michael Minella
    Spring Batch Lead
    Author - Pro Spring Batch
    http://www.michaelminella.com
    Twitter: @MichaelMinella

Posting Permissions

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