【发布时间】:2019-02-06 20:37:56
【问题描述】:
我见过很多在 mule 数据编织中检查 null 的示例,但没有一个检查 NullPayload。
当我在数据编织中尝试payload[1] is NullPayload 时,它抱怨说missing ':' at 'NullPayload'。添加: 会导致运行时错误Invalid input ":NullPayload ", expected :trait or :type。
我知道我无法检查 null,因为它与 NullPayload 不同,但我不知道在 dataweave 中检查 NullPayload 的语法。
我正在使用 Mule 运行时 3.8.5
【问题讨论】: