![](/img/trans.png)
[英]Service Broker ,message arrives target server but it stays at sender queue
[英]Service broker queue message arrived but notification doesn't work
我正在使用 Microsoft 提供的 External Activator 來監控服務代理隊列消息。 主隊列的名稱是“ReportQueueTarget”。 我還設置了一個這樣的通知隊列:
CREATE QUEUE ReportExternalNotifyQueue
GO
-- create event notification service
CREATE SERVICE ReportExternalNotifyService
ON QUEUE ReportExternalNotifyQueue
(
[http://schemas.microsoft.com/SQL/Notifications/PostEventNotification]
)
GO
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
CREATE EVENT NOTIFICATION [ReportNotification]
ON QUEUE [ReportQueueTarget]
FOR QUEUE_ACTIVATION
TO SERVICE 'ReportExternalNotifyService','current database'
GO
這適用於我設置的兩個環境。 但是,對於我現在設置的這個新環境,消息成功到達主隊列,但通知隊列中沒有任何顯示。 因此,外部激活器永遠不會收到通知。 什么可能導致這個問題?
謝謝!
我只是偶然發現了這個問題,我知道它已經過時了。 如果有人遇到同樣的問題,我有一篇關於如何解決外部激活問題的博客文章。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.