Skip to content

Message broker thread pools should be set up in allowCoreThreadTimeOut mode [SPR-12249] #16863

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions