The <channel-adapter/> now actually creates a channel instance rather than requiring another distinct channel object. Instead of configuring the poller on the channel-adapter, it is currently to be configured on the consuming endpoint just as if the <channel-adapter/> were any other pollable channel (e.g. <queue-channel/>).
This commit is contained in:
@@ -9,11 +9,7 @@
|
||||
|
||||
<si:message-bus/>
|
||||
|
||||
<si:channel id="channel"/>
|
||||
|
||||
<si:channel-adapter id="endpoint" source="jmsSource" channel="channel">
|
||||
<si:schedule period="5000"/>
|
||||
</si:channel-adapter>
|
||||
<si:channel-adapter id="channel" source="jmsSource"/>
|
||||
|
||||
<si:jms-source id="jmsSource" jms-template="jmsTemplate"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user