-
Aug 4th, 2010, 08:55 AM
#1
Max pool size in ThreadPoolTaskExecutor
I'm defining my thread pool with the following lines in my application context:
<bean id="executor" class="org.springframework.scheduling.concurrent.T hreadPoolTaskExecutor">
<property name="corePoolSize" value="5" />
<property name="maxPoolSize" value="200" />
</bean>
But when I check the usage of the thread pool during execution using executor.getActiveCount(), I only see the active count going up to core pool size. It never goes beyond that even though there are more threads queued up. I'm sure I'm missing something - what is it?
Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules