【发布时间】:2016-02-11 14:48:44
【问题描述】:
我在我的mule flow 中使用file component,在该文件中添加payload。
骡流是:
HTTP Listener => Payload => File => ...
XML 中的组件:
<file:outbound-endpoint path="${test}" outputPattern="tested_#[function:datestamp:yyyyMMdd].log" connector-ref="File" responseTimeout="1000" doc:name="File"/>
当我生成文件时,它会在mule-esb-directory\bin 中创建一个名为test 的文件夹,但我想在项目目录中创建它,例如:
mule-esb-directory\app\MyMuleProject.
我使用properties file 设置路径,但它不起作用。
现在: mule-esb-directory\bin\test
我想要: mule-esb-directory\app\MymuleProject
【问题讨论】: