different relations from flask to rabbitmq