|Oracle GlassFish Server Reference Manual
Part Number E24938-01
lists the JMS resources
list-jms-resources [--help] [--restype type] [target]
list-jms-resources subcommand lists the existing Java Message Service (JMS) resources (destination and connection factory resources).
This subcommand is supported in remote mode only. Remote
asadmin subcommands require a running domain administration server (DAS).
Displays the help text for the subcommand.
The JMS resource type can be
Restricts the listing to resources for a specified target. Valid values are as follows:
Lists the resources for the default server instance. This is the default value.
Lists the resources for the domain.
Lists the resources for every server instance in the specified cluster.
Lists the resources for the specified server instance.
The following subcommand lists all JMS resources.
asadmin> list-jms-resources jms/Queue jms/ConnectionFactory jms/DurableConnectionFactory jms/Topic Command list-jms-resources executed successfully.
The following subcommand lists all
asadmin> list-jms-resources --restype javax.jms.ConnectionFactory jms/ConnectionFactory jms/DurableConnectionFactory Command list-jms-resources executed successfully.
subcommand executed successfully
error in executing the subcommand