RabbitMQ in Gateway script

Maybe try this: