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.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
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 at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
This command deletes a specified service integration bus, and deletes the artifacts related to the bus including queue points, publication points, and mediation points. This command also deletes the new artifacts 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 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. We can use the listSIBuses command to list the names of existing buses.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBus('[-bus bus1 ]')