Fix api.pp with RabbitMQ