deleteSIBForeignBus command
Use the deleteSIBForeignBus command to delete a foreign 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 foreign bus. The command does not affect the service integration bus for which the foreign bus was created.
CAUTION:
This command
deletes the foreign bus and its additional property configuration.
Although there is no confirmation prompt before deleting the bus,
the bus is not deleted from the master configuration until you save
your changes.
Target object
A foreign bus.
Required parameters
- -bus busname
- The name of the service integration bus for which you want to delete a foreign bus. You can use the listSIBuses command to list the names of existing buses.
- -name busname
- The name of the foreign bus that you want to delete. You can use the listSIBForeignBuses command to list the names of existing buses.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBForeignBus('[-bus bus1 -name foreignbus1]')