QueueMessage class

Definition

Represents a queue message.

QueueMessage(content=None)
Inheritance
builtins.object
azure.storage.queue._shared.models.DictMixin
QueueMessage

Parameters

content
obj

The message content. Type is determined by the decode_function set on the service. Default is str.

Variables

id
str
A GUID value assigned to the message by the Queue service that identifies the message in the queue. This value may be used together with the value of pop_receipt to delete a message from the queue after it has been retrieved with the receive messages operation.
inserted_on
date
A UTC date value representing the time the messages was inserted.
expires_on
date
A UTC date value representing the time the message expires.
dequeue_count
int
Begins with a value of 1 the first time the message is received. This value is incremented each time the message is subsequently received.
pop_receipt
str
A receipt str which can be used together with the message_id element to delete a message from the queue after it has been retrieved with the receive messages operation. Only returned by receive messages operations. Set to None for peek messages.
next_visible_on
date
A UTC date value representing the time the message will next be visible. Only returned by receive messages operations. Set to None for peek messages.