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