users@glassfish.java.net

Re: List the nr of messages in a JMS queue or topic

From: Scott Oaks <Scott.Oaks_at_Sun.COM>
Date: Fri, 04 Jan 2008 15:14:47 -0500

I prefer to use the imqcmd command line tool for this:

imqcmd metrics dst -u admin -t q -n <QueueName>

[default password is admin; check your domain.xml if you've changed it.]

There is also the imqadmin gui console; you can log in, connect to a
broker, and examine the properties of its queues/topics (but that
information isn't refreshed; you must refresh is manually. The
imq-related commands are in /path_to_glassfish/imq/bin

-Scott

On Fri, 2008-01-04 at 14:41, glassfish_at_javadesktop.org wrote:
> Is there a simple way of retrieving the nr of messages that's currently available in a JMS queue/topic ?
>
> Like the monitor "tool" in the weblogic admingui f.e
>
> /Laban
> [Message sent by forum member 'laban' (laban)]
>
> http://forums.java.net/jive/thread.jspa?messageID=252277
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>