<?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="taskExecutorOnly">
		<dispatcher task-executor="taskExecutor"/>
	</channel>

	<channel id="failoverFalse">
		<dispatcher failover="false"/>
	</channel>

	<channel id="failoverTrue">
		<dispatcher failover="true"/>
	</channel>

	<channel id="loadBalancerDisabled">
		<dispatcher load-balancer="none"/>
	</channel>

	<channel id="loadBalancerDisabledAndTaskExecutor">
		<dispatcher load-balancer="none" task-executor="taskExecutor"/>
	</channel>

	<channel id="roundRobinLoadBalancerAndTaskExecutor">
		<dispatcher load-balancer="round-robin" task-executor="taskExecutor"/>
	</channel>

	<channel id="lbRefChannel">
		<dispatcher load-balancer-ref="lb"/>
	</channel>

	<beans:bean id="taskExecutor"
				class="org.springframework.core.task.SimpleAsyncTaskExecutor"/>

	<beans:bean id="lb"
				class="org.springframework.integration.channel.config.DispatchingChannelParserTests.SampleLoadBalancingStrategy"/>
</beans:beans>
