Deleting a WebSphere MQ link using the wsadmin tool

Use this command to delete a WebSphere® MQ link from the cell.

To run the command, use the AdminTask object of the wsadmin scripting client.

The wsadmin scripting client is run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".

This command is only valid when used with WebSphere Application Server Version 6.1 and later application servers. Do not use it with earlier versions.

Command-line help is provided for service integration bus commands:

For additional details of the command properties, see the related reference topic.

Purpose

This command deletes a WebSphere MQ link from the cell.

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.
Command name
deleteSIBMQLink
Target
None.
Result
The WebSphere MQ link is deleted from the cell.

To save the changes made by the command, invoke the "save" command on the AdminConfig object. If you do not save the changes, the WebSphere MQ link is not deleted from the master configuration.

Required parameters

-bus busname
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 name
The name of the messaging engine to which the WebSphere MQ link was assigned when created. You can use the listSIBEngines command to list the names of existing messaging engines.
-mqLink MQlinkname
The name of the WebSphere MQ link that you want to delete.

Conditional parameters

None.

Optional parameters

None.

Example

wsadmin>$AdminTask deleteSIBMQLink {-bus SCA.SYSTEM.IBM-AA8DA602255Cell01.Bus -messagingEngine IBM-AA8DA
602255Node01.server1-SCA.SYSTEM.IBM-AA8DA602255Cell01.Bus -mqLink myMQLink2}
wsadmin>



Related reference
WebSphere MQ link administrative commands
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 8:21:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-express-iseries&topic=rjj_mqlink_delete
File name: rjj_mqlink_delete.html