[rabbitmq-discuss] producer with no consumer

Mark Geib mark.geib at echostar.com
Tue Sep 2 19:48:46 BST 2008

I just ran another test. Restarted the broker. Then I started the 
producer but never started a consumer and the broker process continues 
to grow in memory usage. This seems odd, since no consumer has every 

Ben Hood wrote:
> Mark,
> On Tue, Sep 2, 2008 at 6:48 PM, Mark Geib <mark.geib at echostar.com> wrote:
>> I assume that since the producer is still posting
>> messages that they are being queued until a consumer connects.? Is this
>> expected, can I configure the broker, or exchange, etc. so that messages
>> are just dumped if there is no consumer.
> You can set the auto-delete flag when you declare your queues, so that
> the queue is deleted when all consumers have finished using it, and
> any subsequent messages will not be routed to those queues.
> HTH,
> Ben

Principal Engineer
Cheyenne Software Engineering
mark.geib at echostar.com / 35-215

More information about the rabbitmq-discuss mailing list