Network Deployment (All operating systems), v8.5 > Reference > Commands (wsadmin scripting)
showWMQ command
Use the showWMQ command to show the settings which can be set by the manageWMQ command.
To run the command, use AdminTask of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".
This command is valid only when it is used with WAS v7 and later application servers. Do not use it with earlier versions.
For a list of the available WebSphere MQ messaging provider administrative commands, plus a brief description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('WMQAdminCommands')
For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save your changes to the master configuration. For example, use the following command:
AdminConfig.save()
Purpose
Use the showWMQ command to display all the parameters, and their values that can be set by the manageWMQ command. These settings are either related to the WebSphere MQ resource adapter or the WebSphere MQ messaging provider. The command also shows custom properties which are set on the WebSphere MQ resource adapter.
The following settings are expected:
- maxConnections
- connectionConcurrency (Setting this property only affects WAS 7 nodes. The property has no effect for WAS Version 8 or later nodes.)
- reconnectionRetryCount
- reconnectionRetryInterval
- nativePath
- enableInbound
- disableWMQ (this parameter is only visible when setting it is valid, see the description of the manageWMQ command for more information)
For a description of these settings, see manageWMQ command.
Any other setting that is shown is either a custom property or a property that is not appropriate in WAS.
Target object
A WebSphere MQ resource adapter.
Required parameters
None.
Optional parameters
None.
Example
- Using Jython:
wsadmin>AdminTask.showWMQ("WebSphere MQ Resource Adapter (cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)") '{name1=value1, logWriterEnabled=true, maxConnections=100, startupReconnectionRetryCount=500, connectionConcurrency=1, reconnectionRetryCount=3, traceEnabled=false, reconnectionRetryInterval=4, nativePath=[], startupReconnectionRetryInterval=600, traceLevel=3}'
- Jacl:
wsadmin>$AdminTask showWMQ "WebSphere MQ Resource Adapter( cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)" {name1=value1, logWriterEnabled=true, maxConnections=100, startupReconnectionRetryCount=500, connectionConcurrency=1, reconnectionRetryCount=3, traceEnabled=false, reconnectionRetryInterval=4, nativePath=[], startupReconnectionRetryInterval=600, traceLevel=3}
Related tasks:
Using the wsadmin scripting AdminTask object for scripted administration
Starting the wsadmin scripting client using wsadmin.sh
Related reference:
Mapping of administrative console panel names to command names and WebSphere MQ names