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.

[IBM i] The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.

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 your changes to the master configuration 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 your 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. You 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. You can use the listSIBEngines command to list the names of existing messaging engines.
-mqLink
The name of the WebSphere MQ link that you want to delete.

Conditional parameters

None.

Optional parameters

None.

Example

AdminTask.deleteSIBMQLink('[-bus bus1 -messagingEngine cluster1.000-bus1 
-mqLink myMQLink2]')
Reference topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=rjj_mqlink_delete
File name: rjj_mqlink_delete.html