Hi This is working correctly.
See http://activemq.apache.org/how-do-i-find-the-size-of-a-queue.html On Thu, Mar 13, 2014 at 8:01 AM, khandelwalanuj <khandelwal.anu...@gmail.com> wrote: > Hi, > > I am using amqV5.8. What is the exact meaning of queue purging for ActiveMQ. > According to documentation "purge a queue menas delete all the messages on > it" > But when I purge a queue and check Jconsole, it delete all the pending > messages and consider them as dequeued. > > *Before purging: > *EnqueueCount = 10 > DequeueCount = 0 > QueueSize = 10 > > *After Purging: > *: > EnqueueCount = 10 > DequeueCount = 10 > QueueSize = 0 > > I think after purging the queue: all the counters should go down to '0'. > > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Purged-queue-does-not-delete-message-on-it-tp4678945.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io