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.

如果要執行這個指令,請使用 wsadmin Scripting 用戶端AdminTask 物件

[IBM i][IBM i]wsadmin Scripting 用戶端是從 Qshell 執行. [IBM i]如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.

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.

服務整合匯流排指令有指令行說明:
  • 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('SIBAdminCommands')

  • 如需給定指令的概觀說明,請在 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

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjo_cli_dests_delete
檔名:rjo_cli_dests_delete.html