Setting the stage and porting RabbitMQ Code