简体   繁体   English

Mule SFTP文件监听器

[英]Mule SFTP File Listener

I have a question about mule. 我对m子有疑问。

I have a SFTP Component that moves file to local directory every end of month by Quartz component. 我有一个SFTP组件,每个月末由Quartz组件将文件移动到本地目录。

but when the file upcoming to the SFTP at the middle of month. 但是当文件在月中旬即将到达SFTP时。

I want to move it at a time, i don't want to wait until end of month. 我想一次移动它,我不想等到月底。

i need something depends on event, listening files like service or something like this. 我需要一些取决于事件,侦听文件(如服务)或类似内容的文件。

If Is there any configuration can help me. 如果有任何配置可以帮助我。

You could use a <composite-source> as your flow source and place inside of it both a quartz endpoint and, say, an http endpoint. 您可以使用<composite-source>作为流源,并在其内部放置一个quartz端点和一个http端点。

That way you'll be able to trigger manually (over HTTP) the same flow that gets triggered monthly by Quartz. 这样,您将能够(通过HTTP)手动触发Quartz每月触发的相同流程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM