Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element.

This commit is contained in:
Mark Fisher
2008-11-19 18:50:03 +00:00
parent 7badd53b9f
commit 8e09a38ce9
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
<publish-subscribe-channel id="channelWithErrorHandler" error-handler="testErrorHandler"/>
<thread-pool-task-executor id="pool"/>
<thread-pool-task-executor id="pool" max-size="1"/>
<beans:bean id="testErrorHandler" class="org.springframework.integration.config.TestErrorHandler"/>

View File

@@ -15,6 +15,6 @@
<property name="taskExecutor" ref="taskExecutor" />
</bean>
<si:thread-pool-task-executor id="taskExecutor" core-size="1" rejection-policy="CALLER_RUNS"/>
<si:thread-pool-task-executor id="taskExecutor" core-size="1" max-size="5" rejection-policy="CALLER_RUNS"/>
</beans>