<?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">

	<bean id="integrationExecutions" class="org.springframework.integration.monitor.IntegrationMBeanExporter">
		<property name="server" ref="mbeanServer" />
		<property name="componentNamePatterns" value="input" />
	</bean>

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

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

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

	<int:inbound-channel-adapter id="explicit" ref="service" method="execute" channel="input">
		<int:poller fixed-rate="200" />
	</int:inbound-channel-adapter>

	<bean id="service" class="org.springframework.integration.monitor.MBeanExporterIntegrationTests$SimpleService" />

</beans>
