deleteSIBus command
Use the deleteSIBus command to delete a specified service integration 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 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 ]')