Mi Galaxy EMQ Book

MessageAPI


MessageAPI includes the methods that needs to be called via messageClient. The following sections detail the input and output of each API and the meaning of the parameters:

Send Message

sendMessage()
sendMessageBatch()

Receive Message

receiveMessage()

Change Message Invisible Time

changeMessageVisibilitySeconds()
changeMessageVisibilityBatchSeconds()

Delete Message

deleteMessage()
deleteMessageBatch()

Send Message to Dead Letter Queue

deadMessage()
deadMessageBatch()

Query Message

peekMessage()

Delete Message Directly

deletePeekMessage()
deletePeekMessageBatch()