【发布时间】:2019-07-11 09:18:47
【问题描述】:
我想使用 SFTP 连接器读取文件,然后想更改其名称。 这是我的 SFTP 连接器 -
<sftp:connector preferredAuthenticationMethods="publickey,password,keyboard-interactive" name="SFTP" validateConnections="true" doc:name="SFTP" outputPattern="file1Temp.txt"/>
我的 SFTP 入站端点是 -
<sftp:inbound-endpoint connector-ref="SFTP" host="${a.host}" port="${a.port}" path="${a.inputpath}" user="${a.user}" password="${a.pw}" responseTimeout="10000" pollingFrequency="600000" doc:name="SFTP">
<file:filename-regex-filter pattern="file1.txt" caseSensitive="true"/>
</sftp:inbound-endpoint>
在这里,我的文件名为“file1.txt”,我想将其名称更改为“file1Temp.txt”。
【问题讨论】:
标签: mule sftp mule-component mule-connector