deleteSIBDestinations command
Use the deleteSIBDestinations command to delete bus destinations.
This command deletes the named destinations on the named bus, and deletes all related message points.
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.
This command is valid only when it is used with WebSphere® Application Server Version 6.1.0 (Fix Pack 15) or later. Do not use it with earlier versions.
- 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')
AdminConfig.save()
Purpose
The deleteSIBDestinations command deletes the named destinations on the named bus, and deletes all related message points. This command also finds and cleans up all destinations that are assigned to IBM MQ server bus members, and all destinations that are mediated to a IBM MQ queue. This command does not delete messages from IBM MQ queues, and it does not delete the queues.
Target object
Bus destinations.
Required parameters
- -bus
- The name of the service integration bus on which the bus destination is configured. You can use the listSIBuses command to list the names of existing buses.
- -nameList
- The identifiers by which these destinations are known for administrative purposes.
- -aliasBus
- If the destination to be deleted is an alias destination and was created with the aliasBus parameter, then the same value must be used to delete the destination.
- -foreignBus
- If the destination to be deleted is a foreign destination, then the foreign destination parameter must be supplied.
Conditional parameters
None.
Optional parameters
None.
Example
- Using Jython:
wsadmin>AdminTask.deleteSIBDestinations(["-bus" , "abus" , "-nameList" , [["myqueue1"] ,["myqueue2"]]]) wsadmin>$AdminConfig save
- Using Jacl:
wsadmin>$AdminTask deleteSIBDestinations {-bus myBus -nameList {{myqueue1} {myqueue2}} } wsadmin>$AdminConfig save