ule子:如何在记录器中打印文件名?

问题描述:

我要打印m子配置文件的名称,在流程的记录器中,如何获取?

I want to print the mule configuration file name, in the logger in the flow, how can I get it?

假设test.xml中的配置文件名里面有一个记录器,该记录器显示 test.xml ,我怎么能得到这个?

Suppose the configuration file name in test.xml, inside that a flow is having logger, which prints test.xml, how can I get this?

<flow name="filenameFlow">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/Hello" doc:name="HTTP"/>
    <logger message="#[app.name.toString()]" level="INFO" doc:name="Logger"/>
</flow>

#[message.outboundproperties[originalFilename]]

尝试使用此表达式.