-
Jan 21st, 2013, 01:30 AM
#1
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?
Rgds
Bala
Last edited by bala_muthu; Jan 22nd, 2013 at 03:26 AM.
-
Jan 22nd, 2013, 01:53 PM
#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?
-
Jan 23rd, 2013, 12:06 AM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules