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

	<int:message-history />

	<int-feed:inbound-channel-adapter id="feedAdapterUsage"
									  channel="feedChannelUsage"
									  resource="classpath:org/springframework/integration/feed/sample.rss"
									  preserve-wire-feed="true">
		<int:poller fixed-rate="10000" max-messages-per-poll="100"/>
	</int-feed:inbound-channel-adapter>

	<int:service-activator id="sampleActivator" input-channel="feedChannelUsage">
		<bean class="org.springframework.integration.feed.config.FeedInboundChannelAdapterParserTests$SampleService" />
	</int:service-activator>

	<bean id="metadataStore" class="org.springframework.integration.metadata.PropertiesPersistingMetadataStore">
		<property name="baseDirectory"
				  value="#{T (org.springframework.integration.feed.config.FeedInboundChannelAdapterParserTests).tempFolder.absolutePath}"/>
	</bean>

</beans>
