具有启动延迟的FileConnector

问题描述 投票:0回答:2

您好,有没有其他选项可以为file:inbound-endpoint提供启动延迟?(FileConnector)(我可以看到石英是此的替代解决方案)

<flow name="ReadingFlow" processingStrategy="synchronous">
        <file:inbound-endpoint path="{file.incoming.files}"
                               connector-ref="DefaultNoStreamingConnector"
                               pollingFrequency="${file.polling.frequency}">

        </file:inbound-endpoint>
file mule polling mule-esb inbound
2个回答
0
投票

切换到固定频率。初次检查时有这样的参数tp延迟

        <ftp:listener doc:name="On New or Updated File" >
        <scheduling-strategy >
            <fixed-frequency startDelay="123" />
        </scheduling-strategy>
    </ftp:listener>

希望它有帮助-在https://simpleflatservice.com创建Mulesoft应用程序>


0
投票

不,没有。您可以使用Poll scope作为启动流的替代方法,但是入站端点不能在流的中间使用,因为它是消息源(启动流),而不是操作。在轮询启动流之后,您可以使用Mule Requester模块来引用流中的入站终结点。

© www.soinside.com 2019 - 2024. All rights reserved.