I am trying to find out what is the payload type by printing it out using logger. I am aware that in Mule 3 you could use this #[payload.getClass().getSimpleName()]
or #[message.dataType.type]
.
How to achieve this in Mule 4? I did my google search but could not find any solution.