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:
@@ -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"/>
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user