Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Event Notification is not sending an even when Service Broker Queue disable.

$
0
0

Hi All,

I am trying an option "BROKER_QUEUE_DISABLED" in EVENT NOTIFICATION it seems it is not properly generating a Broker Queue disabled event. SO can some one please validate the script wcich i created(see below)

-Thanks in Advance

Script:

CREATE

GO

CREATE

SERVICE NotifyService

ON

QUEUE NotifyQueue

[http://schemas.microsoft.com/SQL/Notifications/PostEventNotification]);


GO

CREATE

EVENT NOTIFICATION [CHS_QueueDisabledNotif]

       ON QUEUE [CHS_Change_Queue] WITH FAN_IN

       FOR BROKER_QUEUE_DISABLED

       TO SERVICE 'NotifyService', 'current database'



--Testing

--Try Disabling Application Queue

ALTER QUEUE dbo.CHS_Change_Queue WITH STATUS = OFF

(

QUEUE NotifyQueue

Vinay


Viewing all articles
Browse latest Browse all 24688

Trending Articles