Refactored the ChannelAdapterParser to MethodInvokingInboundChannelAdapterParser. MethodInvokingOutboundChannelAdapterParser had already been committed. The namespace now defines "inbound-channel-adapter" and "outbound-channel-adapter" elements instead of using "channel-adapter" for both.
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
<queue capacity="10"/>
|
||||
</channel>
|
||||
|
||||
<channel-adapter id="outboundWithImplicitChannel" target="consumer"/>
|
||||
<outbound-channel-adapter id="outboundWithImplicitChannel" target="consumer"/>
|
||||
|
||||
<channel-adapter id="methodInvokingConsumer" target="testBean" method="store"/>
|
||||
<outbound-channel-adapter id="methodInvokingConsumer" target="testBean" method="store"/>
|
||||
|
||||
<channel-adapter id="methodInvokingSource" source="testBean" method="getMessage" channel="queueChannel">
|
||||
<inbound-channel-adapter id="methodInvokingSource" source="testBean" method="getMessage" channel="queueChannel">
|
||||
<poller period="10000" max-messages-per-poll="1"/>
|
||||
</channel-adapter>
|
||||
</inbound-channel-adapter>
|
||||
|
||||
<beans:bean id="consumer" class="org.springframework.integration.config.TestConsumer"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user