Use the delete-jms-resource subcommand in remote mode to remove the specified connection factory or destination resource.
Ensure that you remove all references to the specified JMS resource before running this subcommand.
Ensure that the server is running.
Remote subcommands require a running server.
List the existing JMS resources by using the list-jms-resources(1) subcommand.
Delete the JMS resource by using the delete-jms-resource(1) subcommand.
This example deletes the jms/Queue resource.
asadmin> delete-jms-resource jms/Queue Command delete-jms-resource executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-jms-resource at the command line.