Deleting a bus destination using the wsadmin tool

Use the deleteSIBDestination command to delete a bus destination.

This command deletes the named destination on the named bus, and deletes all related message points.

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 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

The deleteSIBDestination command deletes the named destination on the named bus, and deletes all related message points. This command also finds and cleans up all destinations that are assigned to WebSphere MQ server bus members, and all destinations that are mediated to a WebSphere MQ queue. This command does not delete messages from WebSphere MQ queues, and it does not delete the queues.

Command name
DeleteSIBDestination
Target
Bus destination.
Result
The bus destination is deleted from the bus.

To save the changes made by the command, invoke the "save" command on the AdminConfig object.

Required parameters

-bus
The name of the service integration bus on which the bus destination is configured. You can use the listSIBuses command to list the names of existing buses.
-name
The identifier by which this destination is known for administrative purposes.
-aliasBus
If the destination to be deleted is an alias destination and was created with the aliasBus parameter, then the same value must be used to delete the destination.
-foreignBus
If the destination to be deleted is a foreign destination, then the foreign destination parameter must be supplied.

Conditional parameters

None.

Optional parameters

None.

Example

wsadmin>$AdminTask deleteSIBDestination {-bus abus -name myqueue}
wsadmin>$AdminConfig save



Related reference
Destinations administrative commands
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 10:47:11 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-iseries&topic=rjo_cli_dest_delete
File name: rjo_cli_dest_delete.html