Modified configuration to use 'service-activator'

This commit is contained in:
Mark Fisher
2008-07-09 12:28:39 +00:00
parent a04b940de6
commit a0d3e55ee7
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
<schedule period="10000"/>
</channel-adapter>
<handler-endpoint input-channel="channel1" output-channel="channel2"
<service-activator input-channel="channel1" output-channel="channel2"
ref="exclaimer" method="exclaim"/>
<channel-adapter channel="channel2" target="fileTarget"/>

View File

@@ -20,9 +20,9 @@
<router ref="parityResolver" method="getParity" input-channel="numbers"/>
<handler-endpoint ref="oddLogger" input-channel="odd"/>
<service-activator ref="oddLogger" input-channel="odd"/>
<handler-endpoint ref="evenLogger" input-channel="even"/>
<service-activator ref="evenLogger" input-channel="even"/>
<beans:bean id="counter" class="org.springframework.integration.samples.oddeven.Counter"/>