abstract fun createMessage(topicSession: TopicSession, data: ByteArray, uuid: UUID = UUID.randomUUID()): Message
Returns an initialised Message with the current time, etc, already filled in.
topicSession
- identifier for the topic and session the message is sent to.