<?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="channel1">
		<queue capacity="1" />
	</channel>

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

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

	<channel id="routingChannelA" />

	<channel id="routingChannelB" />

	<channel id="routingChannelC" />

	<recipient-list-router id="simpleRouter" input-channel="routingChannelA">
		<recipient channel="channel1"/>
		<recipient channel="channel2"/>
	</recipient-list-router>

	<recipient-list-router id="customRouter" input-channel="routingChannelB"
			send-timeout="1234"
			ignore-send-failures="true"
			apply-sequence="true">
		<recipient channel="channel1"/>
		<recipient channel="channel2"/>
	</recipient-list-router>

	<recipient-list-router id="simpleDynamicRouter" input-channel="simpleDynamicInput">
		<recipient selector-expression="true" channel="channel1"/>
		<recipient selector-expression="false" channel="channel2"/>
		<recipient selector-expression="@testBean.accept(payload)" channel="channel3"/>
	</recipient-list-router>

	<recipient-list-router id="noSelectorMatchRouter" input-channel="noSelectorMatchInput" default-output-channel="channel1">
		<recipient selector-expression="false" channel="channel2"/>
	</recipient-list-router>

	<beans:bean id="testBean" class="org.springframework.integration.router.config.RecipientListRouterParserTests.TestBean"/>

</beans:beans>
