fileAge属性有时只能工作

时间:2014-11-18 16:26:20

标签: java ftp mule mule-studio

我有一个包含以下入站端点的Mule流:

    <inbound-endpoint address="${source.address}" doc:name="readInputGeneric0" mimeType="text/xml">
        <properties>
            <spring:entry key="pollingFrequency" value="${source.polling_frequency}" />
            <spring:entry key="fileAge" value="${source.fileAge}" />
            <spring:entry key="workDirectory" value="${work.address}" />
        </properties>
    </inbound-endpoint>

在生产中,source.address属性指向ftp服务器,source.fileAge属性的值为20000.通常一切正常。但是,这是大约两个月内的第二次,我注意到ftp文件夹中的文件没有被读取。要修复它,我必须删除fileAge属性(我也尝试将其设置为0,但它不起作用)。问题是,我需要fileAge来确保文件在被写入时不被读取。欢迎任何建议。

2 个答案:

答案 0 :(得分:1)

我想知道它是否与夏令时有关。

自更换时间以来,您是否重新启动了运行时?

答案 1 :(得分:1)

这个问题好像在这里报道了(虽然我使用的是另一个版本的Mule):

http://www.mirthcorp.com/community/issues/i#browse/MIRTH-1990

最后,我解决了用sizeCheckWaitTime替换fileAge。

相关问题