2.19.6 delete-jmsdest
Removes a JMS physical destination.
Synopsis
asadmin [asadmin-options] delete-jmsdest [--help] --desttype type [--target target] dest_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-jmsdest subcommand is supported in remote mode only. Remote asadmin subcommands require a running Domain Administration Server (DAS).
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --desttype dest_type
-
Specifies the type of the JMS destination.
Type: String
The following values can be specified:
-
topic
-
queue
Default value: N/A
-
- --target target
-
Deletes the physical destination only from the specified target.
Type: String
The following values can be specified:
-
server
Deletes the physical destination from the default server instance. This is the default value.
-
configuration-name
Deletes the physical destination from the specified configuration.
-
cluster-name
Deletes the physical destination from every server instance in the specified cluster.
-
instance-name
Creates the physical destination from the specified server instance.
Default value: server
-
- dest_name
-
Specifies the unique identifier of the JMS destination to be deleted.
Type: String
The following values can be specified:
-
The name of the JMS destination
Default value: N/A
-
Examples
The following subcommand deletes the queue named PhysicalQueue on the server instance instance1.
asadmin delete-jmsdest --target instance1 --desttype queue PhysicalQueue
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |