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

	<context:annotation-config />

	<channel id="input" />
	<channel id="output" />

	<b:bean id="service" class="org.springframework.integration.config.xml.ConstructorAutowireTests$TestService" />
	<b:bean id="endpoint" class="org.springframework.integration.config.xml.ConstructorAutowireTests$TestEndpoint" />

	<inbound-channel-adapter ref="endpoint" method="aProducer" channel="input">
		<poller max-messages-per-poll="1" fixed-delay="300000"/>
	</inbound-channel-adapter>

	<splitter input-channel="input" output-channel="output" ref="endpoint" method="aSplitter" />

	<service-activator input-channel="output" ref="endpoint" method="aConsumer"/>

</b:beans>
