Re-working of examples from the 'RabbitMQ in Action' book