Replaced <handler-endpoint/> with <service-activator/> in demos.
This commit is contained in:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user