Thumper icon indicating copy to clipboard operation
Thumper copied to clipboard

Option to create queue in Producer

Open janwalther opened this issue 8 years ago • 1 comments

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?

janwalther avatar Jun 07 '17 05:06 janwalther

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

hefekranz avatar Jun 28 '17 09:06 hefekranz