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

	<channel id="directInput"/>

	<channel id="queueInput">
		<queue capacity="1"/>
	</channel>

	<channel id="customDeserializerInput"/>

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

	<payload-deserializing-transformer id="direct" input-channel="directInput" output-channel="output"
		allow-list="*" />

	<payload-deserializing-transformer input-channel="queueInput" output-channel="output">
		<poller fixed-delay="10000"/>
	</payload-deserializing-transformer>

	<payload-deserializing-transformer input-channel="customDeserializerInput" output-channel="output"
		deserializer="customDeserializer"/>

	<beans:bean id="customDeserializer"
		class="org.springframework.integration.config.xml.PayloadDeserializingTransformerParserTests$TestDeserializer"/>

</beans:beans>
