Simple configuration of Spring thread pool

The bean configuration is as follows:
  <bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
	  <property name="corePoolSize" value="5" />
	  <property name="maxPoolSize" value="10" />
	  <property name="queueCapacity" value="25" />
	</bean>

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326610441&siteId=291194637
Recommended