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

	<context:annotation-config/>

	<bean class="org.springframework.integration.twitter.inbound.SearchReceivingMessageSourceWithMetadataTests$SearchReceivingMessageSourceWithMetadataTestsConfig"/>

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

	<int-twitter:search-inbound-channel-adapter id="twitterSearchAdapter"
												query="springintegration"
												twitter-template="twitterTemplate"
												channel="inbound_twitter"
												metadata-store="metadataStore"
												auto-startup="false">
		<int:poller fixed-delay="100" max-messages-per-poll="3"/>
	</int-twitter:search-inbound-channel-adapter>

	<bean id="metadataStore" class="org.springframework.integration.metadata.SimpleMetadataStore"/>

</beans>


