Hi,
We are currently using the SimpleAsyncTaskExecutor within our batch application whereby the concurrencyLimit is configurable using a job parameter as shown below:
We have noticed odd thing while profiling the application in the sense that more that one thread has been seen running (up to 4 threads with limit set to 0)Code:<bean id="taskExecutor" class="org.springframework.core.task.SimpleAsyncTaskExecutor" scope="step"> <!-->property name="concurrencyLimit" value="10"/--> <property name="concurrencyLimit" value="#{jobParameters[numberOfTreads]}"/> </bean>
Any explanation on this?
Thanks



Reply With Quote
