The <inbound-channel-adapter/> and <outbound-channel-adapter/> elements now expect the "ref" attribute (instead of "source" for inbound and "target" for outbound).

This commit is contained in:
Mark Fisher
2008-09-24 01:54:11 +00:00
parent 6655511d3d
commit 4664ef5f81
4 changed files with 33 additions and 41 deletions

View File

@@ -13,11 +13,11 @@
<queue capacity="10"/>
</channel>
<outbound-channel-adapter id="outboundWithImplicitChannel" target="consumer"/>
<outbound-channel-adapter id="outboundWithImplicitChannel" ref="consumer"/>
<outbound-channel-adapter id="methodInvokingConsumer" target="testBean" method="store"/>
<outbound-channel-adapter id="methodInvokingConsumer" ref="testBean" method="store"/>
<inbound-channel-adapter id="methodInvokingSource" source="testBean" method="getMessage" channel="queueChannel">
<inbound-channel-adapter id="methodInvokingSource" ref="testBean" method="getMessage" channel="queueChannel">
<poller period="10000" max-messages-per-poll="1"/>
</inbound-channel-adapter>