Microsoft Message Queuing Testing Tool

  • Sandro Pereira
  • Nov 24, 2015
  • 2 min read

Over the last few days, I have been working on a solution that relies heavily on Microsoft Message Queuing (MSMQ). This work involved migrating a BizTalk solution from BizTalk Server 2004 to BizTalk Server 2013 R2. The solution receives messages from a private queue using the MSMQ Adapter and sends them to other queues and channels. These messages are then consumed by different applications and servers.

One of my goals during this process was to perform partial tests in a simple way. I wanted to validate that all receive ports were correctly configured and able to consume the expected messages.

Microsoft Message Queuing Testing Tool is a lightweight utility that allows you to easily test sending files or messages to an MSMQ queue.

📝 One-Minute Brief

The Microsoft Message Queuing Testing Tool is a lightweight utility designed to simplify testing of MSMQ-based integrations. It allows developers and integration engineers to send test messages or files to MSMQ queues, helping validate receive port configurations and message consumption without relying on external systems or custom scripts.

Microsoft Message Queuing or MSMQ is a message queue implementation developed by Microsoft and deployed in its Windows Server operating systems and enables applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. It provides guaranteed message delivery, efficient routing, security, and priority-based messaging.

With this tool, you can easily send messages to a queue in order to evaluate whether other applications are reading the messages correctly.

Microsoft Message Queuing Testing Tool

This tool allows you to set:

  • The queue where you want to send the files/messages
  • A Label associated with the file/message
  • The Queue transaction type
  • Import an existing file or manually add a message
Microsoft Message Queuing Testing-Tool result

And it will provide:

  • a success of delivery information (with transaction id)
  • or error detail information

I like simple tools that let me to test my integration scenarios/projects, so I decided today to take some time to create these very basic tools. At least for me, they will be very useful.

Hope you enjoy it also.

Download

You can download this tool from GitHub:

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top