delete-jms-resource
delete-jms-resource
Removes a JMS resource
Description
The delete-jms-resource subcommand removes the specified Java Message
Service (JMS) resource. Ensure that you remove all references to this
resource before executing this subcommand.
This subcommand is supported in remote mode only. Remote asadmin
subcommands require a running domain administration server (DAS).
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadmin(1M) help page. --help-?-
Displays the help text for the subcommand.
--target-
Deletes the JMS resource only from the specified target. Valid values are as follows:
Resources are always created for a domain as a whole but are only active for targets for which a
<resource-ref>has been created using the--targetoption when the resource was created. This means that deleting a resource only deletes the<resource-ref>element for the specified--target, and does not delete the resource from the domain as a whole unlessdomainis specified as the--targetfor the deletion.server-
Deletes the JMS resource from the default server instance. This is the default value.
domain-
Deletes the JMS resource from the domain.
- cluster-name
-
Deletes the JMS resource from every server instance in the specified cluster.
- instance-name
-
Deletes the JMS resource from the specified server instance.