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 Configuring Qshell to run WebSphere scripts using wsadmin scripting.
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.
print AdminTask.help('SIBAdminCommands')
print AdminTask.help('command_name')
AdminConfig.save()
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.
Bus destinations.
None.
None.
wsadmin>AdminTask.deleteSIBDestinations(["-bus" , "abus" , "-nameList" , [["myqueue1"] ,["myqueue2"]]])
wsadmin>$AdminConfig save
wsadmin>$AdminTask deleteSIBDestinations {-bus myBus -nameList {{myqueue1} {myqueue2}} }
wsadmin>$AdminConfig save