+

Search Tips   |   Advanced Search

WMQAdminCommands (AdminTask)

Use the WebSphere MQ administrative commands to manage JMS resources for the WebSphere MQ messaging provider.

We can configure JMS resources for the WebSphere MQ messaging provider through the WebSphere MQ administrative commands, or we can configure JMS resources for the WebSphere MQ messaging provider through the administrative console.

To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided to allow you to make the most commonly- required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.

The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".

These commands are valid only when they are used with WebSphere Application Server Version 7 and later application servers. Do not use them 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 these commands, save the changes to the master configuration. For example, use the following command:

AdminConfig.save()

The following commands are available for the WMQAdminCommands group of the AdminTask object:


Subtopics


Related tasks

  • Use the wsadmin scripting AdminTask object for scripted administration
  • Start the wsadmin scripting client

  • Mapping of administrative console panel names to command names and WebSphere MQ names Reference topic