The default IntervalTrigger (with interval of 10ms) is being configured within the AbstractPollingEndpoint only. The ConsumerEndpointFactoryBean no longer provides a default trigger but rather only passes along a non-null trigger property if one is configured on the bean definition.

This commit is contained in:
Mark Fisher
2008-11-23 04:19:15 +00:00
parent 83e15fbb9b
commit f69d774e09
3 changed files with 3 additions and 7 deletions

View File

@@ -12,9 +12,9 @@
</si:channel>
<bean id="testEndpoint" class="org.springframework.integration.endpoint.PollingEndpointStub">
<property name="taskExecutor" ref="taskExecutor" />
<property name="taskExecutor" ref="taskExecutor"/>
</bean>
<si:thread-pool-task-executor id="taskExecutor" core-size="1" max-size="5" rejection-policy="CALLER_RUNS"/>
<si:thread-pool-task-executor id="taskExecutor" core-size="1" max-size="1" rejection-policy="CALLER_RUNS"/>
</beans>