Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.19.9 list-jms-resources

Lists the JMS resources.

Synopsis

asadmin [asadmin-options] list-jms-resources [--help]
    [--restype type] [target]

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The list-jms-resources subcommand of asadmin lists the existing Java Message Service (JMS) resources (destination and connection factory resources). This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--restype type

Specifies the JMS resource type to be listed.

Type: String

The following values can be specified:

  • javax.jms.Topic

  • javax.jms.Queue

  • javax.jms.ConnectionFactory

  • javax.jms.TopicConnectionFactory

  • javax.jms.QueueConnectionFactory

Default value: N/A

target

Restricts the listing to resources for a specified target.

Type: String

The following values can be specified:

  • server

    Lists the resources for the default server instance. This is the default value.

  • domain

    Lists the resources for the domain.

  • cluster-name

    Lists the resources for every server instance in the specified cluster.

  • instance-name

    Lists the resources for the specified server instance.

Default value: server

Examples

The following example lists all javax.jms.ConnectionFactory resources.

asadmin list-jms-resources --restype javax.jms.ConnectionFactory 

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.