receive method Null safety
override
Receives an incoming message and removes it from the queue.
correlationId
(optional) transaction id to trace execution through call chain.waitTimeout
a timeout in milliseconds to wait for a message to come. Returns a received message ornull
.