Sun Java System Message Queue 3.7 UR1 Administration Guide

Destroying Physical Destinations

To destroy a physical destination, use the destroy dst subcommand. This is the syntax of the destroy dst subcommand:

destroy dst -t destType -n 
destName

The subcommand destroys the physical destination of the specified type and name.

Example:

imqcmd destroy dst -t q -n myQueue -u admin

Destroying a physical destination purges all messages at that destination and removes it from the broker; the operation is not reversible.

You cannot destroy the dead message queue.