Network Deployment (All operating systems), v8.5 > Reference > Commands (wsadmin scripting)
showWMQConnectionFactory command
Use the showWMQConnectionFactory command to display information about a specific WebSphere MQ messaging provider connection factory.
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 WAS 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')
Purpose
Use the showWMQConnectionFactory command to display all the parameters, and their values, associated with a particular WebSphere MQ messaging provider connection factory.
Target object
A WebSphere MQ messaging provider connection factory at the specific scope.
Required parameters
None.
Optional parameters
None.
Example
- Using Jython:
wsadmin>AdminConfig.getid("/Node:9994GKCNode01") 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>AdminTask.listWMQConnectionFactories("9994GKCNode01(cells/ 9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)") cf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# MQConnectionFactory_1098737234986) wsadmin>AdminTask.showWMQConnectionFactory("cf1(cells/9994GKCNode01Cell/ nodes/9994GKCNode01|resources.xml#MQConnectionFactory_1098737234986)") { name=cf1 jndiName=jms/cf/cf1 description= qmgrName=QMGR1 qmgrSvrconnChannel=TO.QMGR1 qmgrHostname=localhost qmgrPortNumber=1414 wmqTransportType=bindingsThenClient authAlias= clientId="Bob's Magic Client" providerVersion= sslCrl= sslResetCount= sslPeerName= rcvExit= rcvExitInitData= sendExit= sendExitInitData= secExit= secExitInitData= compressHeaders=NONE compressPayload=NONE msgRetention=true pollingInterval=5000 rescanInterval=5000 maxBatchSize=10 ccsid=819 failIfQuiescing=true brokerCtrlQueue= brokerSubQueue=SYSTEM.BROKER.CONTROL.QUEUE brokerCCSubQueue=SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE brokerVersion=1 msgSelection=CLIENT subStore=MIGRATE stateRefreshInt=60000 cleanupInterval=360000000 cleanupLevel=SAFE wildcardFormat=CHAR sparseSubs=false brokerQmgr= clonedSubs=true}
- Jacl:
wsadmin>$AdminConfig getid /Node:9994GKCNode01 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) wsadmin>$AdminTask listWMQConnectionFactories 9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1) cf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# MQConnectionFactory_1098737234986) wsadmin>$AdminTask showWMQConnectionFactory cf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml# aclMQConnectionFactory_1098737234986) { name=cf1 jndiName=jms/cf/cf1 description= qmgrName=QMGR1 qmgrSvrconnChannel=TO.QMGR1 qmgrHostname=localhost qmgrPortNumber=1414 wmqTransportType=bindingsThenClient authAlias= clientId="Bob's Magic Client" providerVersion= sslCrl= sslResetCount= sslPeerName= rcvExit= rcvExitInitData= sendExit= sendExitInitData= secExit= secExitInitData= compressHeaders=NONE compressPayload=NONE msgRetention=true pollingInterval=5000 rescanInterval=5000 maxBatchSize=10 ccsid=819 failIfQuiescing=true brokerCtrlQueue= brokerSubQueue=SYSTEM.BROKER.CONTROL.QUEUE brokerCCSubQueue=SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE brokerVersion=1 msgSelection=CLIENT subStore=MIGRATE stateRefreshInt=60000 cleanupInterval=360000000 cleanupLevel=SAFE wildcardFormat=CHAR sparseSubs=false brokerQmgr= clonedSubs=true}
Related tasks:
Using the wsadmin scripting AdminTask object for scripted administration
Starting the wsadmin scripting client using wsadmin.sh
Related reference:
createWMQConnectionFactory command
deleteWMQConnectionFactory command
listWMQConnectionFactories command
modifyWMQConnectionFactory command
Mapping of administrative console panel names to command names and WebSphere MQ names