Juergen Hoeller opened SPR-12249 and commented
ThreadPoolTaskExecutor
setup for message brokers, as in TaskExecutorRegistration
and MessageBrokerBeanDefinitionParser
, should use the allowCoreThreadTimeOut
mode (which we can reliably use on JDK 6+ now). Otherwise, the thread pool won't dynamically shrink below the core pool size (number of processors x2 by default).
Affects: 4.1 GA
Issue Links:
Referenced from: commits 3836aa0