amqp.basic_message

Messages for AMQP

class amqp.basic_message.Message(body='', children=None, channel=None, **properties)

A Message for use with the Channnel.basic_* methods.

PROPERTIES = [('content_type', 'shortstr'), ('content_encoding', 'shortstr'), ('application_headers', 'table'), ('delivery_mode', 'octet'), ('priority', 'octet'), ('correlation_id', 'shortstr'), ('reply_to', 'shortstr'), ('expiration', 'shortstr'), ('message_id', 'shortstr'), ('timestamp', 'timestamp'), ('type', 'shortstr'), ('user_id', 'shortstr'), ('app_id', 'shortstr'), ('cluster_id', 'shortstr')]

Instances of this class have these attributes, which are passed back and forth as message properties between client and server

Previous topic

amqp.channel

Next topic

amqp.exceptions

This Page