message

fun message(key: String, envelope: Envelope): TopicMessage

The message of envelope under key: its value encoded, its headers.


The message of record: keyed by its aggregate ref, its value the bytes of stateEvent's envelope, written from the record at once rather than through the envelope's JSON tree.