sendAsObject method

  1. @override
Future sendAsObject (String correlationId, String messageType, dynamic message)
override

Sends an object into the queue. Before sending the object is converted into JSON string and wrapped in a [MessageEnvelop].

  • correlationId (optional) transaction id to trace execution through call chain.
  • messageType a message type
  • value an object value to be sent Return (optional) Future that receives null for success. Throws error

See [send]