getWSN_SIBWSInboundPort command
Use the getWSN_SIBWSInboundPort command to retrieve a reference to an inbound port associated with a Version 6.1 WS-Notification service point.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需可用的 WS-Notification 指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('WSNotificationCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
This command retrieves a reference to a specified service integration bus inbound port associated with a Version 6.1 WS-Notification service point. 只搭配 6.1 版 WS-Notification 服務來使用這個指令。 具備匯流排功能的入埠連接埠,與 7.0 版 WS-Notification 服務沒有相關聯。.
Target object
WSNServicePoint
Required parameters
- -type
- The type of service integration bus inbound port to retrieve.
Valid options are:
- BROKER (notification broker)
- SUB_MGR (subscription manager)
- PUB_REG_MGR (publisher registration manager)
Conditional parameters
None.
Optional parameters
None.
Example
Retrieve a reference to the subscription manager service integration bus inbound port from the Version 6.1 WS-Notification service point newServicePoint created in the example from topic "Creating a new WS-Notification service point by using the wsadmin tool":
subManInboundPort = AdminTask.getWSN_SIBWSInboundPort(newServicePoint, ["-type", "SUB_MGR"] )