Asyncio ConsumerΒΆ
The following example implements a consumer using the Asyncio adapter
for the Asyncio library that will respond to RPC
commands sent from RabbitMQ. For example, it will reconnect if RabbitMQ closes
the connection and will shutdown if RabbitMQ cancels the consumer or closes the
channel. While it may look intimidating, each method is very short and
represents a individual actions that a consumer can do.