The <endpoint/> element now expects a "handler" attribute instead of "handler-ref".

This commit is contained in:
Mark Fisher
2008-04-22 18:17:05 +00:00
parent cb3c4fbdc3
commit 4b01a3a09c
16 changed files with 31 additions and 31 deletions

View File

@@ -20,8 +20,8 @@
<channel id="coldDrinks"/>
<channel id="hotDrinks"/>
<endpoint input-channel="coldDrinks" handler-ref="barista" handler-method="prepareColdDrink"/>
<endpoint input-channel="hotDrinks" handler-ref="barista" handler-method="prepareHotDrink"/>
<endpoint input-channel="coldDrinks" handler="barista" handler-method="prepareColdDrink"/>
<endpoint input-channel="hotDrinks" handler="barista" handler-method="prepareHotDrink"/>
<beans:bean id="cafe" class="org.springframework.integration.samples.cafe.Cafe">
<beans:property name="orderChannel" ref="orders"/>

View File

@@ -19,7 +19,7 @@
channel="channel1" poll-period="10000"/>
<si:endpoint input-channel="channel1" default-output-channel="channel2"
handler-ref="exclaimer" handler-method="exclaim"/>
handler="exclaimer" handler-method="exclaim"/>
<si:file-target directory="${java.io.tmpdir}/spring-integration-samples/output"
channel="channel2"/>

View File

@@ -11,7 +11,7 @@
<endpoint input-channel="inputChannel"
default-output-channel="outputChannel"
handler-ref="helloService"
handler="helloService"
handler-method="sayHello"/>
<beans:bean id="helloService" class="org.springframework.integration.samples.helloworld.HelloService"/>