[rabbitmq-discuss] How do I delete a persistent message after successul consuming

Michael Klishin mklishin at gopivotal.com
Tue Apr 1 20:55:55 BST 2014


 On 1 April 2014 at 23:52:13, anate (ambatinr at hotmail.com) wrote:
> > I have a durable and persistent message and trying to consume  
> it and insert
> into the database. If everything goes well(no exception) then  
> I would like
> to delete a message from queue. I don't see any examples online  
> using C#.
> Could you please let me know?

Consumed and acknowledged messages can be considered deleted.

You consume with automatic acknowledgements on, so as soon as
you get a delivery, you can consider the message deleted.
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list