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:
Mark Fisher
2008-08-05 02:52:52 +00:00
parent 9f3e7d3d24
commit de207c9bda
13 changed files with 60 additions and 83 deletions

View File

@@ -17,7 +17,7 @@
input-channel="testChannel"
ref="testHandler"
output-channel="replyChannel">
<schedule period="100"/>
<poller period="100"/>
<interceptors>
<beans:bean class="org.springframework.integration.config.TestPreSendInterceptor"/>
<beans:bean class="org.springframework.integration.config.TestAroundSendEndpointInterceptor"/>
@@ -28,7 +28,7 @@
input-channel="testChannel"
ref="testHandler"
output-channel="replyChannel">
<schedule period="100"/>
<poller period="100"/>
<interceptors>
<ref bean="preInterceptor"/>
<ref bean="aroundInterceptor"/>

View File

@@ -20,7 +20,7 @@
</handler-chain>
<service-activator input-channel="testChannel" ref="chain" output-channel="replyChannel">
<schedule period="100"/>
<poller period="100"/>
</service-activator>
<beans:bean id="handler1" class="org.springframework.integration.config.TestConcatenatingHandler">

View File

@@ -13,7 +13,7 @@
<service-activator id="endpoint" input-channel="testChannel"
ref="testHandler" selector="typeSelector">
<schedule period="100"/>
<poller period="100"/>
</service-activator>
<beans:bean id="typeSelector" class="org.springframework.integration.message.selector.PayloadTypeSelector">

View File

@@ -12,7 +12,7 @@
<queue-channel id="testChannel" capacity="50"/>
<service-activator input-channel="testChannel" ref="testBean" method="store">
<schedule period="100"/>
<poller period="100"/>
</service-activator>
<beans:bean id="testBean" class="org.springframework.integration.config.TestBean">

View File

@@ -12,7 +12,7 @@
<queue-channel id="testChannel" capacity="50"/>
<service-activator input-channel="testChannel" ref="testHandler">
<schedule period="100"/>
<poller period="100"/>
</service-activator>
<beans:bean id="testHandler" class="org.springframework.integration.config.TestHandler">

View File

@@ -17,7 +17,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="10000"/>
<poller period="10000"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="REQUIRED"/>
</interceptors>
@@ -28,7 +28,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="10000"/>
<poller period="10000"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="REQUIRES_NEW"/>
</interceptors>
@@ -39,7 +39,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="10000"/>
<poller period="10000"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="SUPPORTS"/>
</interceptors>
@@ -50,7 +50,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="10000"/>
<poller period="10000"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="NOT_SUPPORTED"/>
</interceptors>
@@ -61,7 +61,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="10000"/>
<poller period="10000"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="MANDATORY"/>
</interceptors>

View File

@@ -17,7 +17,7 @@
ref="testBean"
method="bad"
output-channel="output">
<schedule period="100"/>
<poller period="100"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager"/>
</interceptors>
@@ -27,7 +27,7 @@
ref="testBean"
method="good"
output-channel="output">
<schedule period="100"/>
<poller period="100"/>
<interceptors>
<transaction-interceptor transaction-manager="txManager" propagation="REQUIRED"/>
</interceptors>