- removes a JMS physical destination
delete-jmsdest [--help] --desttype type [--target target] dest_name
The delete-jmsdest subcommand removes the specified Java Message Service (JMS) physical destination.
This subcommand is supported in remote mode only. Remote asadmin subcommands require a running domain administration server (DAS).
Displays the help text for the subcommand.
The type of the JMS destination. Valid values are topic and queue.
Deletes the physical destination only from the specified target. Although the delete-jmsdest subcommand is related to resources, a physical destination is deleted using the JMS Service (JMS Broker), which is part of the configuration. A JMS Broker is configured in the config section of domain.xml. Valid values are as follows:
Deletes the physical destination from the default server instance. This is the default value.
Deletes the physical destination from the specified configuration.
Deletes the physical destination from every server instance in the specified cluster.
Creates the physical destination from the specified server instance.
The unique identifier of the JMS destination to be deleted.
Example 1 Deleting a physical destination
The following subcommand deletes the queue named PhysicalQueue.
asadmin> delete-jmsdest --desttype queue PhysicalQueue Command delete-jmsdest executed successfully.
subcommand executed successfully
error in executing the subcommand