Thanks for the reply. I think your solution will delete all the message from a queue when there is no active consumer. But I want to delete messages according to their unique ID (the ID is set by me ) , and I want to delete messages when there are active consumers. Is there a simple solution for me ? Actually I am getting a little worried, I did some search on stackoverflow.com and it seems that JMX api is my only option , but calling JMX api from .NET APP written in C# could be a little hard , is that right?
-- View this message in context: http://activemq.2283324.n4.nabble.com/Can-I-delete-a-message-from-a-queue-in-c-code-tp4676691p4676721.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.