<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration/mail"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:int="http://www.springframework.org/schema/integration"
	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/integration/mail
			https://www.springframework.org/schema/integration/mail/spring-integration-mail.xsd">

	<int:channel id="input">
		<int:queue />
	</int:channel>

	<int:channel id="output">
		<int:queue capacity="1"/>
	</int:channel>

	<mail-to-string-transformer input-channel="input" output-channel="output">
		<int:poller fixed-delay="100"/>
	</mail-to-string-transformer>

</beans:beans>
