[英]DataWeave - Transformer Mule error "There is no variable named 'message'"
如何通過 DataWeave 轉換器在 mule 中顯示出站屬性?
我試過這個:
%dw 1.0
%output application/json skipNullOn="everywhere"
---
{
test_property: message.outboundProperties.testProperty
}
但我收到此錯誤: There is no variable named 'message'
。
謝謝。
直接調用而不使用'message',如下所示
test_property: outboundProperties.testProperty
或者定義一個流變量並按如下方式使用它
flowvar1: flowVars.flowvar1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.