Fix in rabbitmq integration according to alq's review