deleteSIBMQLink command
Use the deleteSIBMQLink command to delete a WebSphere MQ link from a service integration bus. To run the command, use the AdminTask object of the wsadmin scripting client. Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration; for example, by using the following command:
AdminConfig.save()
Purpose
The deleteSIBMQLink command deletes a WebSphere MQ link from a bus. CAUTION: This command deletes the WebSphere MQ link and its additional property configuration. Although there is no confirmation prompt before deleting the WebSphere MQ link, the link is not deleted from the master configuration until you save the changes.
Target object
A bus.
Required parameters
- -bus
- The name of the service integration bus for which you want to delete a WebSphere MQ link. Use the listSIBuses command to list the names of existing buses.
- -messagingEngine
- The name of the messaging engine to which the WebSphere MQ link was assigned when it was created. Use the listSIBEngines command to list the names of existing messaging engines.
- -mqLink
- The name of the WebSphere MQ link to delete.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBMQLink('[-bus bus1 -messagingEngine cluster1.000-bus1 -mqLink myMQLink2]')
Last updated Nov 10, 2010 8:23:07 PM CST