MessageEnvelope constructor Null safety
Creates a new MessageEnvelope, which adds a correlation id, message id, and a type to the data being sent/received.
correlationId
(optional) transaction id to trace execution through call chain.messageType
a string value that defines the message's type.message
the data being sent/received.