deleteSIBForeignBus command
Use the deleteSIBForeignBus command to delete a foreign bus.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
O cliente de script wsadmin é executado do Qshell.
Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.
A ajuda da linha de comandos é fornecida para comandos do barramento de integração de serviços:
- Para obter uma lista dos comandos de barramento de integração de
serviços disponíveis no Jython e uma breve descrição de cada comando, digite o seguinte
comando no prompt wsadmin:
print AdminTask.help('SIBAdminCommands')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('command_name')
Após utilizar o comando, salve suas alterações na configuração principal, utilizando o seguinte comando:
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]')