java - Spring define batch job at runtime -
i working on spring-mvc application.
i have requirement of scheduling batch job @ runtime
for concentrating on creating batch job @ runtime
.
i taking example this.
in example, following entry in xml file
<!-- failed step tasklet declaration --> <bean id="failedsteptasklet" class="com.onlinetechvision.tasklet.failedsteptasklet"> <property name="taskresult" value="error occurred!" /> </bean> <batch:job id="secondjob"> <batch:step id="firstfailedstep"> <batch:tasklet ref="failedsteptasklet" /> </batch:step> </batch:job>
my requirement create batch job , batch step @ runtime. there can multiple batch job multiple batch steps in each job.
can 1 please me, how configure @ runtime.
thanks.
Comments
Post a Comment