<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	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"
	xmlns:int="http://www.springframework.org/schema/integration"
	xmlns:p="http://www.springframework.org/schema/p">

	<bean id="mbeanExporter"
		class="org.springframework.integration.monitor.IntegrationMBeanExporter"
		p:server-ref="mbeanServer" p:defaultDomain="forum" />

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

	<int:chain input-channel="inputChannel">
		<int:transformer>
			<bean class="org.springframework.integration.monitor.ChainWithMessageProducingHandlersTests.SampleProducer" />
		</int:transformer>
		<int:service-activator>
			<bean class="org.springframework.integration.monitor.ChainWithMessageProducingHandlersTests.SampleService" />
		</int:service-activator>
	</int:chain>

</beans>
