deleteSIBus command
Use the deleteSIBus command to delete a specified service integration bus. To run the command, use the AdminTask object of the wsadmin scripting client. Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration; for example, by using the following command:
AdminConfig.save()
Purpose
This command deletes a specified service integration bus, and deletes the artifacts that are related to the bus including queue points, publication points, and mediation points. This command also deletes the new artifacts that are created when queues are assigned or mediated to a WebSphere MQ server bus member, including the WebSphere MQ server bus members. This command does not delete the following:
- Queue managers that are associated with the bus through WebSphere MQ server definitions.
- Messages residing on WebSphere MQ queue managers.
- WebSphere MQ queues.
CAUTION: This command deletes everything on and related to the bus. There is no confirmation prompt before deleting the bus.
Target object
The specified service integration bus.
Required parameters
- -bus busname
- The name by which the service integration bus is known. We can use the listSIBuses command to list the names of existing buses.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBus('[-bus bus1 ]')
Last updated Nov 10, 2010 8:23:07 PM CST