deleteSIBMQLink command
Use the deleteSIBMQLink command to delete an IBM MQ link from a service integration bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
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 at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
The deleteSIBMQLink command deletes a IBM MQ link from a bus.
CAUTION:
This command deletes the IBM MQ link and its additional property configuration. Although there is no confirmation prompt before deleting the IBM 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 we want to delete a IBM MQ link. Use the listSIBuses command to list the names of existing buses.
- -messagingEngine
- The name of the messaging engine to which the IBM 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 IBM MQ link to delete.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBMQLink('[-bus bus1 -messagingEngine cluster1.000-bus1 -mqLink myMQLink2]')