Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何通过 DataWeave 转换器在 mule中显示出站属性?
我试过这个:
%dw 1.0 %output application/json skipNullOn="everywhere" --- { test_property: message.outboundProperties.testProperty }
但我得到这个错误:There is no variable named 'message'。
There is no variable named 'message'
谢谢。
直接调用而不使用'message',如下所示
test_property: outboundProperties.testProperty
或者定义一个流变量并如下使用它
flowvar1: flowVars.flowvar1