asadmin [asadmin-options] flush-jmsdest [--help]
--desttype {topic|queue}
[--target target]
destname
flush-jmsdest DRAFT |
Previous | Next | Contents |
purges messages in a JMS destination.
Synopsis
asadmin [asadmin-options] flush-jmsdest [--help]
--desttype {topic|queue}
[--target target]
destname
Description
The flush-jmsdest
subcommand purges the messages from a physical
destination in the server’s Java Message Service (JMS) configuration.
This subcommand is supported in remote mode only. Remote asadmin
subcommands require a running domain administration server (DAS).
Options
Options for the asadmin
utility. For information about these
options, see the asadmin
(1M) help page.
--help
-?
Displays the help text for the subcommand.
--desttype
This option indicates the type of physical destination from which you
want to purge messages. The supported destination types are topic
and queue
.
--target
Purges messages from the physical destination only for the specified
target. Valid values are as follows:
server
Purges messages from the physical destination for the default server instance. This is the default value.
Purges messages from the physical destination in the specified configuration.
Purges messages from the physical destination for every server instance in the specified cluster.
Purges messages from the physical destination for the specified server instance.
Operands
The unique identifier of the JMS destination to be purged.
Examples
Example 1 Purging messages from a physical destination
The following subcommand purges messages from the queue named
PhysicalQueue
.
asadmin> flush-jmsdest --desttype queue PhysicalQueue
Command flush-jmsdest executed successfully.
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
Previous | Next | Contents |
DRAFT