maximum thread number
is there a maximum thread number when SimpleAsyncTaskExecutor or ThreadPoolTaskExecutor is used? I tried using both of them but in one flow I couldn't achieve to create more than 4 threads. Whatever I set to concurrencyLimit, corePoolSize or maxPoolSize, more than 4 threads does not run parallelly at the same time. it waits threads to end to start new threads. I will be really appreciated if you help me. thanks in advance.
You don't say very much about what you are trying to do. Assuming it is a Spring Batch task executor in a step (multi-threaded step), look for a throttle-limit in the tasklet configuration.
thank you Dave. it really worked. i could not find it in any document or forum.