# Examples

> > Those examples are ported from the RabbitMQ tutorial. They are specific to aioamqp and uses coroutines exclusievely. Please read both documentation together, as the official documentation explain how to use the AMQP protocol correctly.

> > Do not hesitate to use RabbitMQ Shiny management interfaces, it really helps to understand which message is stored in which queues, and which consumer unqueues what queue.

> > Using docker, you can run RabbitMQ using the following command line. Using this command line you will be able to run the examples and access the RabbitMQ management interface using the login guest and the password guest.

Contents:

- “Hello World!” : The simplest thing that does something
  - Sending
  - Receiving
- Work Queues : Distributing tasks among workers
  - new_task
  - worker
- Publish Subscribe : Sending messages to many consumers at once
  - Publisher
  - Consumer
- Routing : Receiving messages selectively
  - Publisher
  - Consumer
- Topics : Receiving messages based on a pattern
  - Publisher
  - Consumer
- RPC: Remote procedure call implementation
  - Client
  - Server