Home | Trees | Indices | Help |
---|
|
object --+ | Message
The Message class is a mutable holder of message content.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
DEFAULT_PRIORITY = 4
|
Properties | |
inferred The inferred flag for a message indicates how the message content is encoded into AMQP sections. |
|
durable The durable property indicates that the message should be held durably by any intermediaries taking responsibility for the message. |
|
priority The priority of the message. |
|
ttl The time to live of the message measured in seconds. |
|
first_acquirer True iff the recipient is the first to acquire the message. |
|
delivery_count The number of delivery attempts made for this message. |
|
id The id of the message. |
|
user_id The user id of the message creator. |
|
address The address of the message. |
|
subject The subject of the message. |
|
reply_to The reply-to address for the message. |
|
correlation_id The correlation-id for the message. |
|
content_type The content-type of the message. |
|
content_encoding The content-encoding of the message. |
|
expiry_time The expiry time of the message. |
|
creation_time The creation time of the message. |
|
group_id The group id of the message. |
|
group_sequence The sequence of the message within its group. |
|
reply_to_group_id The group-id for any replies. |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Clears the contents of the Message. All fields will be reset to their default values. |
Receives and decodes the message content for the current delivery from the link. Upon success it will return the current delivery for the link. If there is no current delivery, or if the current delivery is incomplete, or if the link is not a receiver, it will return None.
|
repr(x)
|
Property Details |
inferredThe inferred flag for a message indicates how the message content is encoded into AMQP sections. If inferred is true then binary and list values in the body of the message will be encoded as AMQP DATA and AMQP SEQUENCE sections, respectively. If inferred is false, then all values in the body of the message will be encoded as AMQP VALUE sections regardless of their type.
|
durableThe durable property indicates that the message should be held durably by any intermediaries taking responsibility for the message.
|
priorityThe priority of the message.
|
ttlThe time to live of the message measured in seconds. Expired messages may be dropped. |
first_acquirerTrue iff the recipient is the first to acquire the message.
|
delivery_countThe number of delivery attempts made for this message.
|
user_idThe user id of the message creator.
|
addressThe address of the message.
|
subjectThe subject of the message.
|
reply_toThe reply-to address for the message.
|
correlation_idThe correlation-id for the message.
|
content_typeThe content-type of the message.
|
content_encodingThe content-encoding of the message.
|
expiry_timeThe expiry time of the message.
|
creation_timeThe creation time of the message.
|
group_idThe group id of the message.
|
group_sequenceThe sequence of the message within its group.
|
reply_to_group_idThe group-id for any replies.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 15:31:08 2019 | http://epydoc.sourceforge.net |