我如何使用MEL捕获有效负载中的空值,我使用的是Mule3.4,我的大部分有效负载是JSON格式的,有时也是XML格式的。
{
"username": "DEADPOOL",
"text": "chimichanga",
"val":null
}发布于 2016-02-19 19:43:46
可以使用choice组件。并尝试此流程:
<choice doc:name="Choice">
<when expression="#[payload.'username' == null]">
{your code}
</when>
<otherwise>
</otherwise>
</choice>https://stackoverflow.com/questions/35454598
复制相似问题