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

	<integration:channel id="inbound"/>

	<int-aws:s3-inbound-channel-adapter
					id="validInbound"
					bucket="TestBucket"
					propertiesFile="testawscredentials.properties"
					temporary-suffix=".temp"
					remote-directory="remote"
					accept-sub-folders="true"
					max-objects-per-batch="100"
					file-name-regex="[A-Za-z0-9]+\\.txt"
					channel="inbound">
		<integration:poller fixed-rate="1000"/>
	</int-aws:s3-inbound-channel-adapter>

</beans>