I have a RabbitMQ topology(set up independent of celery) with a queue that is bound to two exchanges with the same routing key. Now, I want to set up a celery instance to post to the exchanges and another one to consume from the queue.
I have the following questions in the context of both the producer and the consumer:
Is the
CELERY_QUEUESsetting necessary in the first place if I specify only the exchange name and routing key inapply_asyncand the queue name while starting up the consumer? From my understanding of AMQP, this should be enough...If it is necessary, I can only set one exchange per queue there. Does this mean that the other binding will not work(producer can't post to the other exchange, consumer can't receive messages routed through the other exchange)? Or, can I post and receive messages from the other exchange regardless of the binding in
CELERY_QUEUES?