sendAsObject method Null safety
Sends an object into the queue. Before sending the object is converted into JSON string and wrapped in a MessageEnvelope.
correlationId
(optional) transaction id to trace execution through call chain.messageType
a message typevalue
an object value to be sent Return (optional) Future that receives null for success. Throws error
See send