2.2.3 imqcmd list dst
Lists the physical and temporary destinations.
Synopsis
imqcmd list dst -b hostName:portNumber [-t destType][-tmp]
Storage location
Application Server installation directory/javaee/mq/bin
Function
The imqcmd list dst subcommand lists all the physical and temporary destinations of the specified type.
Arguments
- -b hostName:portNumber
-
Specifies the host name and the port number of the broker.
You can specify a literal IPv4 or IPv6 address as the host name. If you use a literal IPv6 address, its format must conform to the RFC2732 standards.
Type: String
The following values can be specified:
-
The host name separated by port number of the broker.
Default value: localhost:7676
-
- -t destType
-
Specifies the type of the physical destination.
Type: String
The following values can be specified:
-
t
Specifies the physical destination of the topic.
-
q
Specifies the physical destination of the queue.
Default value: N/A
-
- -tmp
-
Lists the temporary destinations.
Examples
The following command lists all the physical destinations available on the broker, running on the host myHost, at the port number 4545.
imqcmd list dst -b myHost:4545
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |