- 06 May 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
MSMQ
- Updated on 06 May 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
In a BizTalk environment, MSMQ (Microsoft Message Queuing) can be utilized as a reliable messaging transport for exchanging messages between BizTalk Server and other systems.
Monitoring MSMQ queues helps identify instances where message queues become backlogged, either due to high message volumes or processing bottlenecks. By monitoring error queues and dead-letter queues, administrators can identify messages that encounter processing errors and take corrective actions, such as resubmitting failed messages or investigating the root cause of processing failures.
BizTalk360 allows user to monitor all their MSMQs in one central location . By receiving timely notifications regarding any violations in the MSMQs at user's environment, they can be identified and addressed promptly.
Set up MSMQ monitoring
- Log in to the BizTalk360 application.
- Select the 'Environment'
- Click 'Monitoring' and Navigate to Manage Mapping->Queues ->MSMQ.
- Select the Alarm name from the drop-down, which you would like to associate the queue for monitoring.
- Click the 'Monitor New Queue' to configure monitoring. The configuration includes MSMQ configuration and Monitoring Rule configuration.
MSMQ Configuration for Monitoring
MQMQ Configuration is used to connect and communicate with the specific Queue.
- Queue path - You can get the queue path from the respective queue properties screen. The queue path will be in this format "DomainName/MessageQueueType (Private/System)/Queue Name".
- Local Queue- Monitor the queue which is available in the same machine.
- Remote Queue - Monitor queue from another machine in the same domain.
Monitoring Rule configuration
This configuration is used for Monitoring the queue metrics.
- 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. You can monitor the oldest message in the queue by setting up the Message Age.
- 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.
- Save the monitoring configuration by clicking the 'Save' button. The Queue will be added under the MSMQ tab in Alarms - Queues screen as shown below.
Overview of Mapped MSMQs
Once the MSMQs are mapped for monitoring, the health status of the queues will be shown in dashboard in a graphical tree view. If the MSMQs mapped is violated, it will be listed in the errors and warnings along with the associated alarms. You can also navigate to the respective MSMQ on clicking them.
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.