For MapMessage messages, you create properties whose names match the message keys.
ByteMessageSerializer decodes the body as a sequence of bytes and parses them to create an XML structure according to the payload definition in the event.
UtfBytesMessageSerializer is similar to the
ByteMessageSerializer except that it serializes the payload using
writeUTF() instead of
writeBytes(), and deserializes the payload using
readUTF() instead of
readBytes(). With
TextMessageSerializer, the text from the message is decoded as an XML string.
MessageWithNoBody does not serialize or deserialize the payload.
The UtfBytesMessageSerializer is similar to the BytesMessageSerializer, except that it serializes the payload using writeUTF() and deserializes the payload using readUTF().
For incoming messages, the TextMessageSerializer serializer converts JMS TextMessage messages to event payloads. The payloads are XML String type, and are human-readable. You can access them using XPath functions.