我正在使用ftp与spring-integration。当我使用int-ftp:inbound-channel-adapter
,那么它工作正常,但int-ftp:inbound-streaming-channel-adapter
产生以下错误:FTP弹簧与入站流式通道适配器集成
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'int-ftp:inbound-streaming-channel-adapter
什么可能我会丢失?
我的代码中的相关部分是你的依赖Spring集成4.3.1.RELEASE
<int-ftp:inbound-streaming-channel-adapter id="ftpInbound"
channel="ftpChannel"
session-factory="ftpClientFactory"
filename-pattern="*.txt"
filename-regex=".*\.txt"
filter="customFilter"
remote-file-separator="/"
comparator="comparator"
remote-directory-expression="'/OUT/SDI402_CARATT_JD'">
<int:poller fixed-rate="1000" />
</int-ftp:inbound-streaming-channel-adapter>
我已经清理了这个问题,但是您的代码示例在回答您的问题时非常有用。 – Andy
我修复了代码标签,代码使用了四个空格。你是添加扰流板标签:) – Andy
你有没有解决这个问题?如果是这样的解决方案是什么? – Steve