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:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user