FTP Mule 中的入站连接器没有启用自动删除选项
FTP inbound connector in Mule don't have auto Delete Option enabled
我有一个要求,例如,入站作为 FTP 组件。我需要在 FTP 连接器中处理文件,同时在文件完全处理之前我不应该删除文件。
当前正在使用文件后立即将其删除。
<ftp:connector name="FTPCommonConnector" pollingFrequency="10000" validateConnections="true" doc:name="FTP"> </ftp:connector>
我正在尝试适应 delFile 选项。它正在抛出如下错误。为什么在 FTP 中未启用 delFile 功能?有没有其他方法可以实现此目的。请帮忙。
<ftp:connector delFiles="false" name="FTPCommonConnector" pollingFrequency="10000" validateConnections="true" doc:name="FTP"> </ftp:connector>
错误
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'delFiles' is not allowed to appear in element 'ftp:connector'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[?:?]
提前致谢。
您需要添加全局配置元素。在高级选项卡中,您可以选择选项 'Delete files after processing'.
我有一个要求,例如,入站作为 FTP 组件。我需要在 FTP 连接器中处理文件,同时在文件完全处理之前我不应该删除文件。
当前正在使用文件后立即将其删除。
<ftp:connector name="FTPCommonConnector" pollingFrequency="10000" validateConnections="true" doc:name="FTP"> </ftp:connector>
我正在尝试适应 delFile 选项。它正在抛出如下错误。为什么在 FTP 中未启用 delFile 功能?有没有其他方法可以实现此目的。请帮忙。
<ftp:connector delFiles="false" name="FTPCommonConnector" pollingFrequency="10000" validateConnections="true" doc:name="FTP"> </ftp:connector>
错误
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'delFiles' is not allowed to appear in element 'ftp:connector'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[?:?]
提前致谢。
您需要添加全局配置元素。在高级选项卡中,您可以选择选项 'Delete files after processing'.