【发布时间】:2021-04-26 22:25:15
【问题描述】:
当RotatingServerAdvice 作为建议添加到Poller 时,如
PollerSpec pollerSpec = Pollers.cron(cronExpression)
.advice(rotatingServerAdvice(sftpConfig, proxyConfig))
.maxMessagesPerPoll(3)
.errorChannel("errorChannel");
轮询器会在预定时间轮换每个RotationPolicy.KeyDirectory,还是会在每次轮询时检查一个目录?我已经检查了 Spring Integration Github repo 和参考文档中的示例,但我无法弄清楚这一点。我猜它应该是第一个,但我想确认一下。
【问题讨论】:
标签: spring spring-boot spring-integration spring-integration-dsl spring-integration-sftp