0
這是我的主要mule flow
:騾子 - 刪除文件與文件連接器
HTTP > Payload > File (Create) > Property (File Name) JMS
這JMS調用other flow
與JMS開始
JMS > JSON TO XML > File (Delete by file name)
首先,我創建了JSON
消息的文件。
最後,當JSON
消息轉化爲XML
,我嘗試通過調用屬性,告訴我名字命名刪除文件。
但文件不會刪除。它的輸出這一行動日誌:
Writing file to: C:\errors\91fa03a0-dd33-11e5-a0d9-408d5c4c1bf3.dat
如何我可以做刪除呢?
我試過autoDeleteConnector Configuration
但它不刪除。
<file:connector name="File1" outputPattern="#[message.inboundProperties.fileName]" autoDelete="true" streaming="false" validateConnections="true" doc:name="File"/>