Use the manageWMQ command to manage the settings of the WebSphere® MQ resource adapter installed in a node.
To run the command, use the AdminTask object 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 WebSphere Application Server Version 7 and later application servers. Do not use it with earlier versions.
print AdminTask.help('WMQAdminCommands')
print AdminTask.help('command_name')
AdminConfig.save()
Use the manageWMQ command to manage the settings associated with the WebSphere MQ resource adapter installed in a node.
You can use the manageWMQ command to manage the native library and query the metadata of the WebSphere MQ resource adapter on each node.
A WebSphere MQ resource adapter on a specific node.
None.
The value of this parameter must be true or false
The default value is false.
wsadmin>AdminTask.manageWMQ("WebSphere MQ Resource Adapter (cells/L3A3316Node04Cell/nodes/L3A3316Node05/servers/server1|resources.xml# J2CResourceAdapter_1201601803796)", ["-enableInbound true"])
wsadmin>$AdminTask manageWMQ "WebSphere MQ Resource Adapter (cells/L3A3316Node04Cell/nodes/L3A3316Node05/servers/server1|resources.xml# J2CResourceAdapter_1201601803796)" {-enableInbound true}