Use the manageWMQ command to manage the settings of the WebSphere® MQ resource adapter that is installed at a particular scope.
To run the command, use the AdminTask object of the wsadmin scripting client.
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 that is installed at a particular scope.
You can use the manageWMQ command to manage the native library path and query the metadata of the specified WebSphere MQ resource adapter.
A WebSphere MQ resource adapter.
None.
The value of this parameter must be true or false.
The default value is false.
The value of this parameter must be true or false.
The default value is false.
In a single server environment this parameter is valid only at the server scope. In a network deployment environment this parameter is valid at all scopes. The affect of setting this parameter to true depends on the scope at which you set it:
In all cases, all affected processes must be restarted for the changes to take effect.
The value of the parameter at a higher scope takes precedence over the value at a lower scope. For example, if you set the parameter to false at the server scope but a higher (for example, cell) scoped WebSphere MQ messaging provider has the parameter set to true, the value at the cell scope takes precedence and WebSphere MQ functionality is therefore disabled in all application servers in the cell, regardless of the parameter value at the server scope.
The default value is 10.
For further information, see Configuration of the ResourceAdapter object in the WebSphere MQ information center.
The default value is 5.
For further information, see Configuration of the ResourceAdapter object in the WebSphere MQ information center.
The default value is 5.
For further information, see Configuration of the ResourceAdapter object in the WebSphere MQ information center.
The default value is 300000.
For further information, see Configuration of the ResourceAdapter object in the WebSphere MQ information center.
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}
AdminTask.manageWMQ("WebSphere MQ Resource Adapter( cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)", ["-maxConnections 100 -customProperties [[name1 value1]]"])
wsadmin>$AdminTask manageWMQ "WebSphere MQ Resource Adapter( cells/L3A3316Node01Cell|resources.xml#J2CResourceAdapter_1284547647859)" {-maxConnections 100 -customProperties {{name1 value1}}}