Adapting to the latest RabbitMQ version