This document describes the current stable version of py-amqp (2.2). For development docs, go here.

amqp.protocol

Protocol data.

class amqp.protocol.basic_return_t(reply_code, reply_text, exchange, routing_key, message)
exchange

Alias for field number 2

message

Alias for field number 4

reply_code

Alias for field number 0

reply_text

Alias for field number 1

routing_key

Alias for field number 3

class amqp.protocol.queue_declare_ok_t(queue, message_count, consumer_count)
consumer_count

Alias for field number 2

message_count

Alias for field number 1

queue

Alias for field number 0