INT-1291 removing deprecated sub-elements from <poller> elements in samples

This commit is contained in:
Mark Fisher
2010-07-29 22:58:04 +00:00
parent d550340889
commit c1cbeecf3a
2 changed files with 2 additions and 6 deletions

View File

@@ -13,9 +13,7 @@
<channel id="odd"/>
<inbound-channel-adapter id="numbers" ref="counter" method="next">
<poller max-messages-per-poll="1">
<cron-trigger expression="1,2,3,5,8,13,21,34,55 * * * * ?"/>
</poller>
<poller max-messages-per-poll="1" cron="1,2,3,5,8,13,21,34,55 * * * * ?"/>
</inbound-channel-adapter>
<filter input-channel="numbers" output-channel="positives"

View File

@@ -13,9 +13,7 @@
<channel id="odd"/>
<inbound-channel-adapter id="numbers" ref="counter" method="next">
<poller max-messages-per-poll="1">
<interval-trigger interval="3" time-unit="SECONDS"/>
</poller>
<poller max-messages-per-poll="1" fixed-delay="3000"/>
</inbound-channel-adapter>
<filter input-channel="numbers" output-channel="positives"