I'm wondering what the difference between Exchange.bind_to and Queue.bind_to are.
My understanding is that Exchange.bind_to is when I want to change the exchange from one to another/create another etc.,...
In this example:
callback_queue = Queue(name=callback_queue_name, exclusive=True, noAck=True)(connection)
it seems to me that I can't get the exchange to route the message properly unless I do a queue.bind_to. My understanding of this would be something like, when I create the queue object and specify the routing_key, it's all over but sending/consuming.
is that right, or am I misreading something?
Thanks in advance for any insight.