Skip Navigation Links | |
Exit Print View | |
Oracle GlassFish Server Message Queue 4.5 Administration Guide |
Part I Introduction to Message Queue Administration
1. Administrative Tasks and Tools
3. Starting Brokers and Clients
6. Configuring and Managing Connection Services
Configuring Connection Services
Pausing and Resuming a Connection Service
Updating Connection Service Properties
Viewing Connection Service Information
8. Configuring Persistence Services
9. Configuring and Managing Security Services
10. Configuring and Managing Broker Clusters
11. Managing Administered Objects
12. Configuring and Managing Bridge Services
13. Monitoring Broker Operations
14. Analyzing and Tuning a Message Service
17. Broker Properties Reference
18. Physical Destination Property Reference
19. Administered Object Attribute Reference
20. JMS Resource Adapter Property Reference
21. Metrics Information Reference
22. JES Monitoring Framework Reference
A. Distribution-Specific Locations of Message Queue Data
B. Stability of Message Queue Interfaces
The Command utility’s list cxn and query cxn subcommands display information about individual connections. The subcommand imqcmd list cxn lists all connections for a specified connection service:
imqcmd list cxn [-svn serviceName] [-b hostName:portNumber]If no service name is specified, all connections are listed. For example, the following command lists all connections on the default broker (host localhost at port 7676):
imqcmd list cxn -u adminExample 6-4 shows an example of the resulting output.
Example 6-4 Broker Connections Listing
|
To display detailed information about a single connection, obtain the connection identifier from imqcmd list cxn and pass it to the imqcmd query cxn subcommand:
imqcmd query cxn -n connectionID [-b hostName:portNumber]For example, the command
imqcmd query cxn -n 421085509902214374 -u adminproduces output like that shown in Example 6-5.
Example 6-5 Connection Information Listing
|
The imqcmd destroy cxn subcommand destroys a connection:
imqcmd destroy cxn -n connectionID [-b hostName:portNumber]For example, the command
imqcmd destroy cxn -n 421085509902214374 -u admindestroys the connection shown in Example 6-5.