send method

Future send (String correlationId, 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