send abstract method

Future send(
  1. String? correlationId,
  2. MessageEnvelope envelope
)

Sends a message into the queue.

  • correlationId (optional) transaction id to trace execution through call chain.
  • envelope a message envelop to be sent. Return Future that receives null for success. Throws error

Implementation

Future send(String? correlationId, MessageEnvelope envelope);