On 01/23/2014 09:27 PM, HellKnight wrote:
Well sounds like about all you can do is create another consumer with a selector and try and consume the messages in question that way.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.
-- Tim Bish Sr Software Engineer | RedHat Inc. [email protected] | www.fusesource.com | www.redhat.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/
