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.
The wsadmin scripting client is run from Qshell.
For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
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 your changes to the master configuration 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 IBM MQ server bus member, including
the IBM MQ server
bus members. This command does not delete the following:
- Queue managers that are associated with the bus through IBM MQ server definitions.
- Messages residing on IBM MQ queue managers.
- IBM 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. You can use the listSIBuses command to list the names of existing buses.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBus('[-bus bus1 ]')