What would be the easiest way to implement your own downlink adapter?
1 answer
See <inbound-channel-adapter>
:
<int:inbound-channel-adapter ref="source1" method="method1" channel="channel1">
<int:poller fixed-rate="5000"/>
</int:inbound-channel-adapter>
Where source1
there is something like:
public class MyService {
public List<File> method1() {
....
}
}
Your method will be called for every interval fixed-rate
.
+4
source to share