Created
October 29, 2015 17:38
-
-
Save dalmat36/b91dc40ff178af46d35b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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-feed="http://www.springframework.org/schema/integration/feed" | |
xmlns:int="http://www.springframework.org/schema/integration" | |
xsi:schemaLocation="http://www.springframework.org/schema/integration/feed http://www.springframework.org/schema/integration/feed/spring-integration-feed-4.0.xsd | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-4.1.xsd"> | |
<int:channel id="inputRssFeedChannel"/> | |
<int-feed:inbound-channel-adapter id="feedAdaptor" | |
channel="inputRssFeedChannel" | |
url="http://mddalesio.tumblr.com/rss"> | |
<int:poller fixed-rate="10000" max-messages-per-poll="100"/> | |
</int-feed:inbound-channel-adapter> | |
<int:service-activator input-channel="inputRssFeedChannel" ref="rssFeedMessageHandler"/> | |
<!-- Other beans--> | |
<bean id="rssReader" class="blog.RssReader"/> | |
<bean id="rssFeedMessageHandler" class="blog.RssFeedMessageHandler"/> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment