当前目录和固定速率轮询周期取自属性文件。
<file:inbound-channel-adapter id="batchFilesStock" directory="#{configurationService.configuration.getProperty('qlacceleratorcore.batch.impex.stockbasefolder')}"
filename-regex="^(\d+)\-(.*).csv" comparator="fileOrderComparator" prevent-duplicates="false">
<int:poller fixed-rate="#{configurationService.configuration.getProperty('pollerperiod')}"/>
</file:inbound-channel-adapter>
我喜欢从数据库中获取固定利率值,否则该值应该在运行时可配置。我搜索了许多链接,但无法找出解决方案。有任何想法吗?