<?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:int="http://www.springframework.org/schema/integration"
	xmlns:int-file="http://www.springframework.org/schema/integration/file"
	xsi:schemaLocation="http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<int-file:inbound-channel-adapter channel="input" directory="target/input" filename-pattern="*">
		<int:poller fixed-rate="500"/>
	</int-file:inbound-channel-adapter>

	<int:service-activator input-channel="input" ref="sampleEndpoint" output-channel="output"/>

	<int:channel id="output"/>

	<int-file:outbound-channel-adapter channel="output" directory="target/output"/>

</beans>
