WSO2 ESB EI611 VFS ActionAfterProcess & ActionAfterFailure - 选项

WSO2 ESB EI611 VFS ActionAfterProcess & ActionAfterFailure - options

Requirement is, not to move or delete the files after copying to a different folder, leave it as it is, after copying the file and pick up the latest files only

    <parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
    <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
    <parameter name="transport.vfs.ActionAfterFailure">DELETE</parameter>
    <parameter name="transport.vfs.ActionAfterProcess">DELETE</parameter>

对于带有 protocol="file" 的入站点,允许使用上述参数和选项 MOVE & DELETE。如何添加 NO ACTION 选项?

如果入站端点无法使用此选项(无操作),我们可以将代理服务与 transports="vfs" 一起使用并使用无操作选项吗?语法是什么?

WSO2 的文档说,作为第三个选项没有任何操作是可能的,但是它没有语法或格式。 Inbound Endpoint IDE 属性,仅支持 MOVE 或 DELETE。代理服务是一个名称-值对。

不确定它在 EI6 中是否有效,但在 ESB 4.8.1 中,您可以按以下方式进行操作。

<parameter name="transport.vfs.ActionAfterProcess">NONE</parameter>

谢谢,我有点希望 WSO2 故意保留 MOVE & DELETE 作为唯一选项,以避免冗余。否则,行为或文件轮询将是错误的。这就是他们删除 "NONE" 的原因,可能是为了避免拾取文件夹中已经存在的旧文件或文件。但是,这在文档中应该已经很清楚了,上帝,他们的文档让我很生气。