asadmin [asadmin-options] list-jms-hosts [--help]
[--target target]
list-jms-hosts |
Previous | Next | Contents |
lists the existing JMS hosts
Synopsis
asadmin [asadmin-options] list-jms-hosts [--help]
[--target target]
Description
The list-jms-hosts
subcommand lists the existing Java Message Service
(JMS) hosts for the JMS service.
This subcommand is supported in remote mode only. Remote asadmin
subcommands require a running domain administration server (DAS).
Options
Options for the asadmin
utility. For information about these
options, see the asadmin
(1M) help page.
--help
-?
Displays the help text for the subcommand.
--target
Restricts the listing to JMS hosts for a specified target. Valid
values are as follows:
server
Lists the JMS hosts for the default server instance. This is the default value.
Lists the JMS hosts for the specified configuration.
Lists the JMS hosts for all server instances in the specified cluster.
Lists the JMS hosts for the specified server instance.
Examples
Example 1 Listing all JMS hosts
The following subcommand lists the JMS hosts for the JMS service.
asadmin> list-jms-hosts server-config
default_JMS_host
MyNewHost
Command list-jms-hosts executed successfully.
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
Previous | Next | Contents |