<?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"
	   xmlns:int-jmx="http://www.springframework.org/schema/integration/jmx"
	   xsi:schemaLocation="http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/integration/jmx https://www.springframework.org/schema/integration/jmx/spring-integration-jmx.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">

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

	<int-jmx:mbean-export default-domain="update.mapping.domain"/>

	<int:channel id="in" />

	<int:router id="router" input-channel="in" ref="myRouter" resolution-required="false"/>

	<bean id="myRouter" class="org.springframework.integration.router.HeaderValueRouter">
		<constructor-arg value="routing.header" />
	</bean>

	<int:channel id="control" />

	<int:control-bus input-channel="control" use-registry="true"/>

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

</beans>
