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

	<beans:bean id="twitter" class="org.springframework.social.twitter.api.impl.TwitterTemplate"/>

	<chain input-channel="inputChannel">
		<twitter:outbound-channel-adapter twitter-template="twitter">
			<twitter:request-handler-advice-chain>
				<beans:bean class="org.springframework.integration.twitter.config.TestSendingMessageHandlerParserTests$FooAdvice" />
			</twitter:request-handler-advice-chain>
		</twitter:outbound-channel-adapter>
	</chain>

</beans:beans>


