List-Jms-Hosts
Lists the existing JMS hosts.
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
asadmin-options:
Options for the asadmin utility. For information about these options, see the asadmin 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.
configuration-name;;
Lists the JMS hosts for the specified configuration.
cluster-name;;
Lists the JMS hosts for all server instances in the specified cluster.
instance-name;;
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.