在配置 WS-Notification 服務點的過程中,您可以為該服務點配置任何數量的受管理訂閱者。
Before you begin
決定要用哪個方法來配置這些資源。 You
can create a new administered subscriber by using the administrative
console
as described in this task, or by using the createWSNAdministeredSubscriber command.
您不應該針對定義了受管理訂閱者的 WS-Notification 服務所顯現的任何端點來定義受管理訂閱者,因為這會使通過通知分配管理系統的訊息陷入無限迴圈。
About this task
受管理訂閱者含有 NotificationProducer 應用程式或(不同的)NotificationBroker 端點的名稱,以及 WS-Notification 服務點應該在伺服器啟動程序中登錄之訂閱要求(例如主題)的詳細資料。
這可讓您預先配置 NotificationBroker 和 NotificationProducer(可以是遠端 NotificationBroker 或 NotificationProducer 應用程式)之間的鏈結。
To
create a new administered subscriber, use the administrative console
to complete
the following steps:
Procedure
- In the navigation
pane, click or . The 受管理訂閱者 [集合] form
is displayed.
- In the content pane, click New.
- Specify the following properties for this administered
subscriber.
- 外部 Web 服務端點
- 換言之,就是通知生產端或通知分配管理系統應用程式的端點參照(網址)。例如 http://remoteproducer.com。
- 用語
- 依照 WS-Topics 標準所定義,選項如下:簡單、具體或完整。
- 主題
- 這說明遞送到 WS-Notification 服務點之通知訊息的類別。
例如,stock/IBM。這個內容可包含萬用字元(如果您所選主題用語有支援的話)。
- 主題名稱空間
- 遠端訂閱逾時
- 這個逾時值,可以在本端伺服器解除安裝時,將遠端 Web 服務中留下孤立訂閱的可能性減到最低。請注意,這個欄位不會指出遠端訂閱預定到期的時間。
請將逾時長度設為超出預計伺服器會保持離線的最長時間,否則,有可能岔斷來自遠端 Web 服務的訊息串流。當伺服器在執行中,它有時會更新遠端訂閱的終止時間(以指定的逾時值),以防止在正常作業期間到期。
如果沒有指定,這個逾時值預設為 24(小時)。
- Click OK. If the processing
completes successfully, the list of administered subscribers associated
with
the WS-Notification service point is updated to include the new administered
subscriber. Otherwise, an error message is displayed.
- 儲存對主要配置所做的變更。
What to do next
You can also use the administrative console
to list runtime information
for administered subscribers. For more information, see
Listing active WS-Notification administered subscribers.