Added support for a top-level 'poller' element. A single top-level poller may have a value of 'default=true'. When using the namespace support, endpoints with pollable input-channels are now required to have an explicit poller sub-element or a 'default' poller within the context. The sub-element now also accepts a "ref" (INT-390).

This commit is contained in:
Mark Fisher
2008-11-24 21:37:18 +00:00
parent d4237d0fca
commit 79fdb179fc
14 changed files with 332 additions and 146 deletions

View File

@@ -7,6 +7,10 @@
http://www.springframework.org/schema/integration
http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
<si:poller id="poller" default="true">
<si:interval-trigger interval="50"/>
</si:poller>
<si:channel id="channel1"/>
<si:channel id="channel2">
<si:queue capacity="5"/>