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

This commit is contained in:
Mark Fisher
2008-07-08 02:35:49 +00:00
parent f96d4b8d88
commit 1cc12ce4bf

View File

@@ -20,12 +20,13 @@
<channel id="coldDrinks"/>
<channel id="hotDrinks"/>
<handler-endpoint input-channel="coldDrinks" ref="barista" method="prepareColdDrink"/>
<handler-endpoint input-channel="hotDrinks" ref="barista" method="prepareHotDrink">
<service-activator input-channel="coldDrinks" ref="barista" method="prepareColdDrink"/>
<service-activator input-channel="hotDrinks" ref="barista" method="prepareHotDrink">
<interceptors>
<concurrency-interceptor max="5"/>
</interceptors>
</handler-endpoint>
</service-activator>
<beans:bean id="cafe" class="org.springframework.integration.samples.cafe.Cafe">
<beans:property name="orderChannel" ref="orders"/>