Thumper
Thumper copied to clipboard
Option to create queue in Producer
When I create a Producer only the exchange gets created, no queue. If there is no consumer assigned to the exchange, messages will get lost. Is there an option to create the queue in the Producer and also in the Consumer, so it does not matter which got created first?
In my understanding it's not the job of the Publisher to declare the queue the message will end up in. The exchange should just be used to route the message.
If you need this anyways I guess you need to declare it through queue_declare