<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:si="http://www.springframework.org/schema/integration"
	xmlns:task="http://www.springframework.org/schema/task"
	xsi:schemaLocation="http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/task https://www.springframework.org/schema/task/spring-task.xsd">

	<si:channel id="errorChannel">
		<si:queue capacity="10" />
	</si:channel>

	<bean id="testEndpoint"
		class="org.springframework.integration.endpoint.PollingEndpointStub">
		<property name="taskExecutor" ref="taskExecutor" />
	</bean>

	<task:executor id="taskExecutor" pool-size="1"
		rejection-policy="CALLER_RUNS" />

</beans>
