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

	<int:channel id="requests" />

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

	<int:bridge id="bridge" input-channel="requests" output-channel="intermediate"
		send-timeout="1" />

	<bean id="mbeanExporter" class="org.springframework.integration.monitor.IntegrationMBeanExporter">
		<property name="server" ref="mbeanServer" />
		<property name="defaultDomain" value="test.ChannelIntegrationTests"/>
	</bean>

	<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean"/>

	<int:inbound-channel-adapter id="source" channel="sourceChannel" expression="''">
		<int:poller fixed-delay="10" />
	</int:inbound-channel-adapter>

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

</beans>
