ule子将不允许POLL消息处理器使用入站文件读取文件吗? [英] Mule won't allow POLL message processor to read file using file Inbound?
本文介绍了ule子将不允许POLL消息处理器使用入站文件读取文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个小的查询,POLL消息处理器不允许从文件入站"消息处理器中读取文件?
I have a small query, POLL message processor not allowing to read Files from 'File Inbound' message processor?
我需要每5分钟读取一次文件(自动计划)以继续执行进一步的要求.可以使用POLL吗?
I need to read the file for every 5 minutes (Schedule automatically) to proceed with further requirements. Is it possible using POLL?
如何在POLL中使用文件入站.任何建议都会有所帮助.
How can be file inbound used in POLL. Any suggestions will be helpful.
推荐答案
我建议您使用石英连接器执行此操作.这是一个示例:
I recommend you execute this operation using the quartz connector. Here's an example:
<flow name="repeatIntervalFileFlow" doc:name="repeatIntervalFileFlow">
<quartz:inbound-endpoint responseTimeout="10000" doc:name="Quartz" jobName="test" repeatInterval="300000">
<quartz:event-generator-job/>
</quartz:inbound-endpoint>
<flow-ref name="readFileFlow" doc:name="readFileFlow"/>
</flow>
<flow name="readFileFlow" doc:name="readFileFlow">
<file:inbound-endpoint path="path" connector-ref="in" doc:name="File">
<file:filename-wildcard-filter pattern="*.txt" />
</file:inbound-endpoint>
<logger message="listo" level="INFO" doc:name="Logger"/>
...
</flow>
我希望有所帮助;
这篇关于ule子将不允许POLL消息处理器使用入站文件读取文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文