send method Null safety

  1. @override
Future send(
  1. String? correlationId,
  2. MessageEnvelope message
)
override

Send method are sends a message into the _queue. Parameters:

  • correlationId (optional) transaction id to trace execution through call chain.
  • message a message envelop to be sent. Return Future that recive null if all ok Throws error