Replaced <handler-endpoint/> with <service-activator/> in demos.

This commit is contained in:
Mark Fisher
2008-07-19 03:31:11 +00:00
parent 71dd2f2e80
commit a85f556bb8
4 changed files with 8 additions and 60 deletions

View File

@@ -9,10 +9,10 @@
<message-bus auto-create-channels="true"/>
<handler-endpoint input-channel="inputChannel"
output-channel="outputChannel"
ref="helloService"
method="sayHello"/>
<service-activator input-channel="inputChannel"
output-channel="outputChannel"
ref="helloService"
method="sayHello"/>
<beans:bean id="helloService" class="org.springframework.integration.samples.helloworld.HelloService"/>

View File

@@ -12,11 +12,11 @@
<channel id="fahrenheitChannel"/>
<channel id="celsiusChannel"/>
<!-- The handler endpoint receives from the 'fahrenheitChannel',
<!-- The service activator receives from the 'fahrenheitChannel',
invokes the handler, and sends the reply Message to the 'celsiusChannel'. -->
<handler-endpoint input-channel="fahrenheitChannel"
ref="temperatureConverter"
output-channel="celsiusChannel"/>
<service-activator input-channel="fahrenheitChannel"
ref="temperatureConverter"
output-channel="celsiusChannel"/>
<!-- The handler invokes the WebService for the given URI and returns a reply Message. -->
<ws-handler id="temperatureConverter"