Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
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, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
AdminConfig.save()
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 your changes.
Target object
A bus.
Required parameters
-bus
The name of the service integration bus for which to delete a WebSphere MQ link. We can 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. We can 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
None
Optional parameters
Example
AdminTask.deleteSIBMQLink('[-bus bus1 -messagingEngine cluster1.000-bus1 -mqLink myMQLink2]')