I use the following in my job configuration file:
When running my job from CLI using Spring Batch only, MyJobLauncher is being used. However when I start it from Spring Batch Admin, SimpleJobLauncher is being used instead.Code:<bean id="jobLauncher" class="org.xxx.prototype.springbatch.MyJobLauncher"> <property name="jobRepository" ref="jobRepository" /> </bean>
Is there another configuration file I should declare it in instead?
Thanks!
Anthony


Reply With Quote