Spring Batch Admin provides a web-based user interface that features an admin console for Spring Batch applications and systems.
Questions tagged [spring-batch-admin]
313 questions
12
votes
1 answer
How to safely pass params from Tasklet to step when running parallel jobs
I am trying to pass safely params from tasklet to a step in the same job.
My job consist 3 tasklets(step1,step2,step3) one after another and in the end a step4(processor,reader,writer)
this job is being executed many times in parallel.
In step1…

rayman
- 20,786
- 45
- 148
- 246
11
votes
4 answers
Integrating Spring Batch Admin into an existing application
I have an application which uses Spring Batch and Spring MVC. I am able to deploy Spring Batch Admin as a separate war and use it against the same DB my application uses, though I would like to integrate it into my own application, possibly modify…

abalogh
- 8,239
- 2
- 34
- 49
11
votes
5 answers
Is there a way to integrate spring-batch-admin and spring-boot properly?
According to the documentation spring batch admin is very easy to embed into the existing application. Simply copying web.xml and index.jsp then adding needed dependencies is enough getting it to work.
But if I want to use it in an existing spring…

Selim Ok
- 1,141
- 1
- 7
- 21
10
votes
3 answers
Spring batch: Writing column names as first line in flat file
I want to create a flat file which has the below format:
Col1Name;Col2Name;Col3Name
one;23;20120912
two;28;20120712
As seen, the first line in the flat file are the column names.
How to achieve this through header callback ?
I see that if the…

Vicky
- 16,679
- 54
- 139
- 232
9
votes
3 answers
Is there a spring batch "job" scope?
I just want to know if there is a "JOB" scope in spring batch, like the "STEP" scope ?
If there is not, should we develop our custom scope, or is there a better alternative ?
Thanks in advance.

Oussama Zoghlami
- 1,660
- 17
- 24
8
votes
3 answers
How to get Job parameteres in to item processor using spring Batch annotation
I am using spring MVC. From my controller, I am calling jobLauncher and in jobLauncher I am passing job parameters like below and I'm using annotations to enable configuration as below:
@Configuration
@EnableBatchProcessing
public class…

Mare
- 93
- 1
- 1
- 5
8
votes
1 answer
How to skip blank lines in CSV using FlatFileItemReader and chunks
I am processing CSV files using FlatFileItemReader.
Sometimes I am getting blank lines within the input file.
When that happened the whole step stops. I want to skipped those lines and proceed normal.
I tried to add exception handler to the step in…

rayman
- 20,786
- 45
- 148
- 246
8
votes
3 answers
override spring batch admin to use mysql database
I am trying to use mysql database instead of default HSQL in spring batch admin. For that as per documentation
http://docs.spring.io/spring-batch-admin/reference/reference.xhtml and Using jndi datasource with spring batch admin
I copied…

vishal
- 3,993
- 14
- 59
- 102
7
votes
2 answers
How to get a stable release of Spring Batch Admin
Here is what I've tried from their getting started page...
The SpringSource Community Download links to a page that has no mention of Spring Batch Admin. Looks like the original link is either dead or now redirects to something else.
I get…

Andrew White
- 52,720
- 19
- 113
- 137
7
votes
2 answers
Using jndi datasource with spring batch admin
When using Spring Batch Admin, it tries to provide some defaults for dataSource, transactionManager etc.
If you want to override these defaults, you create your own xml bean definitions under META-INF/spring/batch/servlet/override/ folder and…

Serkan Arıkuşu
- 5,549
- 5
- 33
- 50
7
votes
3 answers
Spring Batch: different job launcher for different jobs
I have 2 different jobs (actually more but for simplicity assume 2). Each job can run in parallel with the other job, but each instance of the same job should be run sequentially (otherwise the instances will cannibalize eachother's…

ahbutfore
- 399
- 4
- 10
6
votes
2 answers
Bean property is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? Spring Batch
I am developing Spring Batch CompositeItemReader & Writer Example. I developed XML file and able to compile code successfully, but when running mu sample code gives me following error. Not sure what is going…
user4821194
6
votes
1 answer
Spring batch Source directory [target/config] does not exist
I have a spring batch application which has the property file batch-default.properties set up as
batch.job.configuration.file.dir=target/config
Now this application works well on my local machine even though i do not have any such directory but…

vaibhav
- 3,929
- 8
- 45
- 81
5
votes
1 answer
What framework to use for advanced job scheduling in Java?
In my application I need to have periodically run background tasks (which I can easily do with Quartz - i.e. schedule a given job to be run at a specific time periodically).
But I would like to have a little bit more control. In particular I need…

machinery
- 3,793
- 4
- 41
- 52
5
votes
0 answers
Can I use Spring Batch Admin into Spring-Boot 2.2.2 (latest)?
I'm working with spring-batch project.
And I added Dependency like below.
org.springframework.boot
spring-boot-starter
…

LEE H.J.
- 51
- 1