Use the delete-jms-host subcommand in remote mode to delete a JMS host from the JMS service. If you delete the only JMS host, you will not be able to start the Message Queue broker until you create a new JMS host.
Ensure that the server is running.
Remote subcommands require a running server.
List the JMS hosts by using the list-jms-hosts(1) subcommand.
Delete a JMS host by using the delete-jms-host(1) subcommand.
This example deletes a JMS host named MyNewHost.
asadmin> delete-jms-host MyNewHost Command delete-jms-host executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help delete-jms-host at the command line.