MSMQ
  • 11 May 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

MSMQ

  • Print
  • Share
  • Dark
    Light

In this article, we will take a detailed look at the end-to-end working scenario of setting up MSMQ monitoring.

  • Log in to BizTalk360
  • Click 'Monitoring' on top of the left Navigation menu
  • Click the expand button against the Manage Mapping and select Queues
  • Select the Alarm name (see Creating an alarm) from the drop-down, which you would like to associate the queue for monitoring

BizTalk360-Monitoring-Queues-MSMQ-Select-Alarm.png

  • Click New Queue to open the Add New Queue blade

BizTalk360-Monitoring-Queues-MSMQ-Add-New-Queue.png

Configure MSMQ for monitoring 

  1. Map the Queue path- You can get Queue path from the Queue properties screen. The Queue path will be in the following format "Domain Name\Message Queue Type (Private/System)\Queue Name"
    • Local-  Monitor the queue which is available in the same machine 
    • Remote -Monitor queue form another machine in the same domain. 
  2. Message Age Units  - This metric configuration allows you to choose the time parameter (Day/Hour/Minutes) for finding the duration of the message that exists in the queue.
  3. Threshold Monitoring Rules - Queue parameters such as Size, Journal Message count, Dead Letter Message Count, Active Message Count, Message Age can be monitored by configuring the threshold rules.

Monitor the oldest message in the queue by setting up the Message Age Units and configuring the threshold parameter 'Message Age' .

Save the monitoring configuration by clicking the "Save Configuration" button. The Queue will be added under the MSMQ tab in Alarms - Queues screen as below.

BizTalk360-Monitoring-Queues-MSMQ.png

  • The Monitoring Dashboard will reflect the health of the Queue in a graphical tree view. You can get the error information associated with the alarm, by clicking the Error Info button

BizTalk360-Monitoring-Queues-MSMQ-Monitoring-Dashboard.png

  • In order to receive email notifications from BizTalk360 on the threshold violation alerts (and auto correction alerts), you need to configure the SMTP settings under BizTalk360 Settings. Follow the steps in this article to be able to configure the SMTP settings in BizTalk360. You will receive an email notification with the exact details of the status of the Queues

BizTalk360-Monitoring-Queues-MSMQ-Email-Notification.png



Was This Article Helpful?