How to access body on MSMQ listener notifcation doc?

How am I supposed to read the Body of an MSMQ listener notifcation message?

When I debug in Developer the Body is full of garbage (Body = “[B@ced378”) … my MSMQ Body actually contains xml.

I have tried mapping it into a string but the data does not make it readable.

It should be “<?xml …>” etc.


To answer my own question:

You have to use a transformer: bytesToString

Body-> bytesToString → BodyAsString