users@glassfish.java.net

Re: Flush Message Queue

From: Steve Essery <Steve.Essery_at_Sun.COM>
Date: Fri, 23 Jan 2009 15:20:53 +0000

List destinations: imqcmd list dst
Purge a destination of all messages: imqcmd purge dst -t <q|t> -n <dest
name>, where -t specifies if the destination is a queue or a topic.
Purge all messages on a durable subscription without removing the
subscription: imqcmd purge dur -n <topic name>

In both cases you'll have to specify the hostname/port the broker is
listening on with -b <hostname>:<port> and you'll have to supply the
admin username and password (default is admin/admin).

glassfish_at_javadesktop.org wrote:
> Hi,
> is there any way to flush list, flush the active message queues.
>
> For every answer, thank you in advance.
>
> Regards,
> Conrad
> [Message sent by forum member 'javanet007' (javanet007)]
>
> http://forums.java.net/jive/thread.jspa?messageID=327823
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>