WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

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.

For i5/OS platforms 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>

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/ref/rjj_mqlink_delete.html

Copyright IBM Corporation 2004, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)