Message(timestamp, attempts, id, body)¶
A class representing a message received from nsqd.
Enables asynchronous processing for this message.
Consumerwill not automatically respond to the message upon return of
Respond to nsqd that you’ve processed this message successfully (or would like to silently discard it).
Returns whether or not this message has been responded to.
Returns whether or not asynchronous processing has been enabled.
The signal sender is the message instance and sends the
backoffflag as arguments.
Respond to nsqd that you’ve failed to process this message successfully (and would like it to be requeued).
Respond to nsqd that you need more time to process the message.