PollingDispatchers are configured from the <poller/> element. The <schedule/> element has been removed. Instead the 'period' attribute is now available on <poller/>.

This commit is contained in:
Mark Fisher
2008-08-05 02:52:52 +00:00
parent 9f3e7d3d24
commit de207c9bda
13 changed files with 60 additions and 83 deletions

View File

@@ -16,7 +16,7 @@
<service-activator input-channel="channel1"
output-channel="channel2"
ref="exclaimer" method="exclaim">
<schedule period="5000"/>
<poller period="5000"/>
</service-activator>
<channel-adapter id="channel2" target="fileTarget"/>

View File

@@ -16,7 +16,7 @@
<channel-adapter id="numbers" source="counter"/>
<router ref="parityResolver" method="getParity" input-channel="numbers">
<schedule period="3000"/>
<poller period="3000" max-messages-per-poll="1"/>
</router>
<service-activator ref="oddLogger" input-channel="odd"/>