WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Deleting a WebSphere MQ link through the command line

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

Before you begin

The command described in this topic is run using the AdminTask object of the wsadmin scripting client.

These command line scripts are run from Qshell. For more information, see the topic "Configure Qshell to run WebSphere Application Server scripts".

Required cleanup: Change to paragraph and flag for WAS6.1-onward (disable for WESB) This command is only valid when run against WebSphere Application Server Version 6.1 application servers. Do not run it against earlier versions.
Command-line help is provided with each of the service integration technologies commands:
  • For a list of all the available service integration technologies commands, plus a brief description of each command, type the following command:
    wsadmin> $AdminTask help SIBAdminCommands
  • For detailed help on a given command, enter the following command:
    wsadmin> $AdminTask help command_name

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-AA8DA602255Node01.server1-SCA.SYSTEM.IBM-AA8DA602255Cell01.Bus -mqLink myMQLink2}

wsadmin>

Reference topic

Terms of Use | Rate this page

Timestamp iconLast updated: 13 Dec 2005
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc\ref\rjj_mqlink_delete.html

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