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

	<aop:config proxy-target-class="true" />
	
	<int:channel id="inputChannel">
		<int:queue/>
	</int:channel>

	<int:service-activator input-channel="inputChannel" ref="sampleService">
		<int:poller max-messages-per-poll="1" fixed-rate="10000">
			<int:transactional transaction-manager="txManager" />
		</int:poller>
	</int:service-activator>
	
	<bean id="sampleService" 
		class="org.springframework.integration.dispatcher.TransactionalPollerWithMixedAopConfigTests.SampleService"/>
		
	<bean id="foo" class="org.springframework.integration.dispatcher.TransactionalPollerWithMixedAopConfigTests.Foo">
		<constructor-arg value="hello"/>
	</bean>
	
	<bean id="txManager"
		class="org.springframework.integration.util.TestTransactionManager" />

</beans>
