<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:si="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">

	<si:channel id="echos" />
	<si:publish-subscribe-channel id="hyphens" />
	<si:channel id="underscores" />

	<si:header-value-router header-name="entity-type" input-channel="echos">
		<si:mapping value="hyphen" channel="hyphens" />
		<si:mapping value="underscore" channel="underscores" />
	</si:header-value-router>

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

	<int-jmx:mbean-export server="mbs" default-domain="test.MethodInvoker" />

</beans>
