Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element.
This commit is contained in:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user