createMessage

open fun createMessage(topic: String, data: ByteArray, deduplicationId: <Error class: unknown class>, additionalHeaders: Map<String, String>): <Error class: unknown class>

Returns the given (topic & session, data) pair as a newly created message object.