carrot.backends.base¶
- class carrot.backends.base.BaseMessage(backend, **kwargs)¶
Base class for received messages.
- ack()¶
Acknowledge this message as being processed.,
This will remove the message from the queue.
- decode()¶
- Deserialize the message body, returning the original python structure sent by the publisher.
- reject()¶
Reject this message.
The message will be discarded by the server.
- requeue()¶
Reject this message and put it back on the queue.
You must not use this method as a means of selecting messages to process.