we have started research on Service Broker and planning to implement in application. But we are not getting how to display Statistics reports(in UI) containing:
1. No of messages in the queue.
2. No of Messages so for Executed/Completed.
3. No of messages IN Process, Waiting, Failed,etc
4. No of Conversations in Specific period of time,etc
etc etc….
Is there any possible way to fetch these information fully/partially
Any help regarding this is highly appreciated.
Thanks in Advance.
Use Catalog views (msdn). For example:
Use DMV (msdn). For example:
Use SQL Server Log. Can do also like this:
Use reports in Management Studio. Go to “Service Broker” node, right click and then “Reports-> Standart Reports-> Service Broker Statistics”