deleteSIBForeignBus command
Use the deleteSIBForeignBus command to delete a foreign 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 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 our changes.
Target object
A foreign bus.
Required parameters
- -bus busname
- The name of the service integration bus for which we want to delete a foreign bus. Use the listSIBuses command to list the names of existing buses.
- -name busname
- The name of the foreign bus to delete. Use the listSIBForeignBuses command to list the names of existing buses.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.deleteSIBForeignBus('[-bus bus1 -name foreignbus1]')