The code included in chapter_11\11_2 is incorrect. It should refer to the Redis example, not the RabbitMQ/amqplib example.