Updated channel-adapter configuration in quoteDemo and temperatureConversion.xml (WS demo) after the channel-adapter refactoring (The <channel-adapter/> element no longer accepts a "channel" reference. Instead, it creates a channel itself).

This commit is contained in:
Mark Fisher
2008-08-02 00:19:42 +00:00
parent 4ebfc051d5
commit cfac014122
2 changed files with 2 additions and 4 deletions

View File

@@ -12,13 +12,12 @@
<annotation-driven/>
<channel id="tickers"/>
<channel id="quotes"/>
<beans:bean class="org.springframework.integration.samples.quote.TickerStream"/>
<beans:bean class="org.springframework.integration.samples.quote.QuoteService"/>
<channel-adapter channel="quotes" target="stdout"/>
<channel-adapter id="quotes" target="stdout"/>
<console-target id="stdout" append-newline="true"/>

View File

@@ -10,7 +10,6 @@
<message-bus/>
<channel id="fahrenheitChannel"/>
<channel id="celsiusChannel"/>
<!-- The service activator receives from the 'fahrenheitChannel',
invokes the handler, and sends the reply Message to the 'celsiusChannel'. -->
@@ -23,7 +22,7 @@
uri="http://www.w3schools.com/webservices/tempconvert.asmx"/>
<!-- The response from the service is logged to the console. -->
<channel-adapter channel="celsiusChannel" target="console"/>
<channel-adapter id="celsiusChannel" target="console"/>
<console-target id="console"/>