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

	<import resource="common-context.xml"/>

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

	<int:bridge input-channel="input" output-channel="input2">
		<int:poller fixed-delay="200"/>
	</int:bridge>

	<int:channel id="input2">
		<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"/>

	<bean id="activeChannel"
		  class="org.springframework.integration.monitor.MBeanExporterIntegrationTests$ActiveChannelImpl"/>

	<bean id="someScheduler"
		  class="org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler">
		<property name="phase" value="1073741823"/>
	</bean>

	<task:executor id="someExecutor"/>

	<bean id="nonSpringExecutor" class="java.util.concurrent.Executors" factory-method="newSingleThreadExecutor"/>

	<bean id="otherActiveComponent"
		  class="org.springframework.integration.monitor.MBeanExporterIntegrationTests$OtherActiveComponent">
		<property name="outputChannel" ref="input"/>
	</bean>

	<bean id="messageProducer"
		  class="org.springframework.integration.monitor.MBeanExporterIntegrationTests$AMessageProducer">
		<property name="outputChannel" ref="input"/>
	</bean>

	<bean id="ignoreWrappedExecutor" class="org.springframework.core.task.support.ExecutorServiceAdapter">
		<constructor-arg ref="someExecutor"/>
	</bean>

</beans>
