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 NotifyQueueVinay