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 | |
address The address of the message. |
|
content_encoding The content-encoding of the message. |
|
content_type The content-type of the message. |
|
correlation_id The correlation-id for the message. |
|
creation_time The creation time of the message. |
|
delivery_count The number of delivery attempts made for this message. |
|
durable The durable property indicates that the message should be held durably by any intermediaries taking responsibility for the message. |
|
expiry_time The expiry time of the message. |
|
first_acquirer True iff the recipient is the first to acquire the message. |
|
group_id The group id of the message. |
|
group_sequence The sequence of the message within its group. |
|
id The id of the message. |
|
inferred The inferred flag for a message indicates how the message content is encoded into AMQP sections. |
|
priority The priority of the message. |
|
reply_to The reply-to address for the message. |
|
reply_to_group_id The group-id for any replies. |
|
subject The subject of the message. |
|
ttl The time to live of the message measured in seconds. |
|
user_id The user id of the message creator. |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
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.
|
Property Details |
addressThe address of the message.
|
content_encodingThe content-encoding of the message.
|
content_typeThe content-type of the message.
|
correlation_idThe correlation-id for the message.
|
creation_timeThe creation time of the message.
|
delivery_countThe number of delivery attempts made for this message.
|
durableThe durable property indicates that the message should be held durably by any intermediaries taking responsibility for the message.
|
expiry_timeThe expiry time of the message.
|
first_acquirerTrue iff the recipient is the first to acquire the message.
|
group_idThe group id of the message.
|
group_sequenceThe sequence of the message within its group.
|
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.
|
priorityThe priority of the message.
|
reply_toThe reply-to address for the message.
|
reply_to_group_idThe group-id for any replies.
|
subjectThe subject of the message.
|
ttlThe time to live of the message measured in seconds. Expired messages may be dropped. |
user_idThe user id of the message creator.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 09:18:57 2016 | http://epydoc.sourceforge.net |