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

	<int:channel id="input">
		<int:queue/>
	</int:channel>
	
	<int-event:outbound-channel-adapter id="eventAdapter" channel="input">
		<int:poller max-messages-per-poll="1" task-executor="executor" fixed-delay="100"/>
	</int-event:outbound-channel-adapter>

	<task:executor id="executor" pool-size="5"/>
</beans>
