<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop"
	xsi:schemaLocation="http://www.springframework.org/schema/aop https://www.springframework.org/schema/aop/spring-aop.xsd
		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 class="org.springframework.beans.factory.config.CustomScopeConfigurer" xmlns="http://www.springframework.org/schema/beans">
		<property name="scopes">
			<map>
				<entry key="thread" value="org.springframework.context.support.SimpleThreadScope" />
			</map>
		</property>
	</bean>

	<channel id="simpleChannel" scope="thread">
		<queue />
	</channel>

	<channel id="channelWithInterceptor" scope="thread">
		<queue />
		<interceptors>
			<beans:ref bean="interceptor" />
		</interceptors>
	</channel>

	<beans:bean id="interceptor" class="org.springframework.integration.config.TestChannelInterceptor" />

</beans:beans>
