【发布时间】:2023-04-08 01:08:02
【问题描述】:
首先,感谢您的关注 我定义了一个带有轮询的出站网关 ftp 适配器,如下代码:
<int-ftp:outbound-gateway id="gatewayLS"
session-factory="ftpClientFactory"
request-channel="inboundFileChannel"
command="ls"
command-options="-1"
expression="'books/*'"
reply-channel="outboundJobRequestChannel">
<int:poller fixed-rate="5000"/>
</int-ftp:outbound-gateway>
但我遇到了以下异常:
org.xml.sax.SAXParseException;行号:57;列号:40; cvc-complex-type.2.4.a:发现以元素“int:poller”开头的无效内容。需要 '{"http://www.springframework.org/schema/integration/ftp":request-handler-advice-chain}' 之一。
上述问题的正确措施是什么?
谢谢
【问题讨论】:
标签: spring ftp spring-integration