removeSIBWSOutboundPort command
Use the removeSIBWSOutboundPort command to remove a service integration bus-enabled web services outbound port.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需可用且具有匯流排功能的 Web 服務指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBWebServices')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command removes the configuration for an OutboundPort.
Target object
ObjectName of the OutboundPort object that is to be removed.
The port destination is deleted. Any messages on the port destination are either deleted or sent to an exception destination as specified in the policy for the messaging bus.
If the port that is removed is the default for the OutboundService, then one of the remaining ports (if any) is chosen to be the default, and the default routing on the service destination is updated. If there are no more ports, the default is cleared from the OutboundService and the service destination.
Resources associated with the OutboundPort (JAX-RPC handler lists, WS-Security configuration) are dissociated from the OutboundPort, but not deleted.
Parameters
None.
Example
- Using Jython:
AdminTask.removeSIBWSOutboundPort(outPort)
- Using Jacl:
$AdminTask removeSIBWSOutboundPort $outPort