unmediateSIBDestination command
Use the unmediateSIBDestination command to remove a mediation from a service integration bus destination.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command removes a mediation from a bus destination for a service integration bus. The mediation remains on the bus, in case it is needed to mediate other bus destinations.
If you unmediate a destination that is assigned to a WebSphere® MQ server bus member, or a destination that has a mediation point on a WebSphere MQ server bus member, the mediation process stops, and messages already queued on the mediation point are not mediated.
Target object
None.
Required parameters
- -bus busname
- The name of the service integration bus on which the bus destination is to be created. You can use the listSIBuses command to list the names of existing buses.
- -destinationName destname
- The identifier by which this destination is known for administrative purposes.
Conditional parameters
None.
Optional parameters
None.
Example
- Using Jython:
wsadmin>AdminTask.listSIBMediations(["-bus", "abus"]) '(cells/9994GKCCell01/buses/abus|sib-mediations.xml# SIBDestinationMediation_1098217858584)' wsadmin>AdminTask.unmediateSIBDestination(["-bus", "abus", "-destinationName", "myqueue"])
- Using Jacl:
wsadmin>$AdminTask listSIBMediations {-bus abus} (cells/9994GKCCell01/buses/abus|sib-mediations.xml#SIBDestinationMediation_1098217858584) wsadmin>$AdminTask unmediateSIBDestination {-bus abus -destinationName myqueue}