getWSN_SIBWSInboundService command
Use the getWSN_SIBWSInboundService command to retrieve a reference to an inbound service that is associated with a Version 6.1 WS-Notification service.
如果要執行這個指令,請使用 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 service associated with a Version 6.1 WS-Notification service. 只搭配 6.1 版 WS-Notification 服務來使用這個指令。 具備匯流排功能的入埠服務,與 7.0 版 WS-Notification 服務沒有相關聯。
Target object
WSNService
Required parameters
- -type
- The type of inbound service 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 notification broker inbound service from the Version 6.1 WS-Notification service newService created in the example from topic "Creating a new WS-Notification service by using the wsadmin tool":
brokerInboundService = AdminTask.getWSN_SIBWSInboundService(newService, ["-type", "BROKER"] )