有没有办法配置文件连接器以在 cloudhub 中使用,特别是与通过 FTPS 读取文件并在开始实际处理内容之前将其放入文件有关?
澄清:我在 cloudhub,它不提供与本地/本地 Mule 设置具有相同意义的文件系统。处理流(FTPS 或类似)以避免处理打开的流时的一种标准做法是获取传入流并使用文件连接器(在本例中为出站)将入站流放入文件中,然后使用该文件用于您的流程。这是如何在 CloudHub 中管理的?
文件连接器是从服务器上指定的路径读取文件。它们不能用于从远程服务器读取。
如果您想要一个文件来启动流程,请尝试以下操作。
<flow name="ftp_reader_flow">
<ftp: inbound> Read from the remote directory
...
<file:outbound> to a local directory
</flow>
<flow name="actual_processing_flow">
<file:inbound> read from the local directory.
... Continue with the processing
.....
</flow>
Run Code Online (Sandbox Code Playgroud)
希望这可以帮助。
| 归档时间: |
|
| 查看次数: |
1612 次 |
| 最近记录: |