The <poller/> element now accepts the "interval" attribute for an IntervalTrigger instead of "period".
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<file:inbound-channel-adapter id="filesIn"
|
||||
directory="file:${java.io.tmpdir}/spring-integration-samples/input">
|
||||
<integration:poller period="5000"/>
|
||||
<integration:poller interval="5000"/>
|
||||
</file:inbound-channel-adapter>
|
||||
|
||||
<integration:service-activator input-channel="filesIn"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<channel id="odd"/>
|
||||
|
||||
<inbound-channel-adapter id="numbers" ref="counter" method="next">
|
||||
<poller period="3000" max-messages-per-poll="1"/>
|
||||
<poller interval="3000" max-messages-per-poll="1"/>
|
||||
</inbound-channel-adapter>
|
||||
|
||||
<router ref="parityResolver" method="getParity" input-channel="numbers"/>
|
||||
|
||||
Reference in New Issue
Block a user