Announcement Announcement Module
No announcement yet.
User defined Job id in spring batch Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • User defined Job id in spring batch

    Hi All,

    We are developing an application, where we will be creating the application Job ID using a shell script. We need to pass this shell script generated job id to spring batch, so that the job instance should have same job id as application job id.

    Can any one tell me whether its possible in spring batch / how can we achieve this?

    Last edited by bala_muthu; Jan 22nd, 2013, 04:26 AM.

  • #2
    This is not possible within Spring Batch currently without extending a number of components. What is the significance to a custom generated job name? What is the use case you are attempting to solve?


    • #3
      Hi mminella,

      Application is doing validation of the input before getting the job id. These process logs should also be recorded and the log file name should have the job id generated by spring batch. So we planned of having a Job id common and put that into spring batch.