According to the following ticket: https://www.mulesoft.org/jira/browse/MULE-6427 For NullPayload
I should be able to use :
<when expression="#[payload == null]">
but that fails. So instead I have to use:
<when expression="#[payload is NullPayload]">
Am I doing something wrong? Or is this the correct way for checking for null
or NullPayload
?