com.r3corda.core.messaging / MessagingService / createMessage

createMessage

abstract fun createMessage(topic: String, data: ByteArray): Message

Returns an initialised Message with the current time, etc, already filled in.