Updated for RabbitMQ.