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
- createWMQActivationSpec command
Use the createWMQActivationSpec command to create an activation specification for the WebSphere MQ messaging provider at a specific scope.
- deleteWMQActivationSpec command
Use this command to delete a WebSphere MQ messaging provider activation specification at a specific scope.
- listWMQActivationSpecs command
Use the listWMQActivationSpecs command to list WebSphere MQ messaging provider activation specifications.
- modifyWMQActivationSpec command
Use the modifyWMQActivationSpec command to change certain parameters of a WebSphere MQ messaging provider activation specification.
- showWMQActivationSpec command
Use the showWMQActivationSpec command to display information about a specific WebSphere MQ messaging provider activation specification.
- createWMQConnectionFactory command
Use the createWMQConnectionFactory command to create a connection factory for the WebSphere MQ messaging provider at a specific scope.
- deleteWMQConnectionFactory command
Use the deleteWMQConnectionFactory command to delete a WebSphere MQ messaging provider connection factory at a specific scope.
- listWMQConnectionFactories command
Use the listWMQConnectionFactories command to list WebSphere MQ messaging provider connection factories.
- modifyWMQConnectionFactory command
Use the modifyWMQConnectionFactory command to change certain parameters of a WebSphere MQ messaging provider connection factory.
- showWMQConnectionFactory command
Use the showWMQConnectionFactory command to display information about a specific WebSphere MQ messaging provider connection factory.
- createWMQTopic command
Use the createWMQTopic command to create a JMS topic destination for the WebSphere MQ messaging provider at a specific scope.
- deleteWMQTopic command
Use this command to delete a WebSphere MQ messaging provider topic at a specific scope.
- listWMQTopics command
Use the listWMQTopics command to list WebSphere MQ messaging provider topics.
- modifyWMQTopic command
Use the modifyWMQTopic command to change certain parameters of a WebSphere MQ messaging provider topic.
- showWMQTopic command
Use the showWMQTopic command to display information about a specific WebSphere MQ messaging provider topic.
- manageWMQ command
Use the manageWMQ command to manage the settings of the WebSphere MQ resource adapter installed at a particular scope.
- showWMQ command
Use the showWMQ command to show the settings which can be set by the manageWMQ command.
- migrateWMQMLP command
Use the migrateWMQMLP command to migrate a WebSphere MQ message listener port definition to an activation specification definition.
- createWMQQueue command
Use the createWMQQueue command to create a queue type destination for the WebSphere MQ messaging provider at a specific scope.
- deleteWMQQueue command
Use this command to delete a WebSphere MQ messaging provider queue type destination at a specific scope.
- listWMQQueues command
Use the listWMQQueues command to list WebSphere MQ messaging provider queue type destinations.
- modifyWMQQueue command
Use the modifyWMQQueue command to change certain parameters of a WebSphere MQ messaging provider queue type destination.
- showWMQQueue command
Use the showWMQQueue command to display information about a specific WebSphere MQ messaging provider queue type destination.
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