[rabbitmq-discuss] producer with no consumer
    Ben Hood 
    0x6e6562 at gmail.com
       
    Tue Sep  2 19:15:50 BST 2008
    
    
  
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
    
    
More information about the rabbitmq-discuss
mailing list