How can I check if my queue (Service Broker) is enabled or not?
1 answer
Take a look sys.service_queues
:
select is_receive_enabled
from sys.service_queues
where name = N'MyQueue';
Your queue is being disabled by the poison message handling mechanism . When this happens, an event occurs that can be recorded using event notification, see Disable Application Broker Service Queue Event .
+11
source to share