Use the deleteSIBDestinations command to delete bus destinations.
This command deletes the named destinations 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 valid only when it is used with WebSphere Application Server Version 6.1.0 Fix Pack 15 or later. Do not use it with earlier versions.
Command-line help is provided for service integration bus commands:
wsadmin> $AdminTask help SIBAdminCommands
wsadmin> $AdminTask help command_name
For additional details of the command properties, see the related reference topic.
The deleteSIBDestinations command deletes the named destinations 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.
To save the changes made by the command, invoke the "save" command on the AdminConfig object.
None.
None.
wsadmin>$AdminTask deleteSIBDestinations {-bus myBus -nameList {{myqueue1} {myqueue2}} } wsadmin>$AdminConfig save