46

I have messages in a MSMQ queue and I would like to view the full message.

I know I can write code to peek the queue, but was wondering if there is a viewer that already exists that will let me read the entire message?

Kiquenet
  • 14,494
  • 35
  • 148
  • 243
Zaffiro
  • 4,834
  • 5
  • 36
  • 47

6 Answers6

43

If you are using Visual Studio - Open Server Explorer under Servers/[Server Name] there is Message Queues folder that gives you view as well.

Petar Vučetin
  • 3,555
  • 2
  • 22
  • 31
  • 1
    Huh. I never thought to look here. However, maybe I'm missing something... I can see the queues, but I can't browse them or view messages. Am I doing something wrong? – Dave Ziegler Oct 01 '13 at 15:46
  • Also, I just got an error in VS2012 using this method that has locked me up real good... – Dave Ziegler Oct 01 '13 at 15:48
  • @DaveZiegler - You can Right click "Refresh", expand, then for a particular message you can view it's properties. Then when you view the properties You can see the "Body Stream" property is probably a `System.Io.MemoryStream`, and click the ellipsis to the right of that (after clicking it). It's round about but this worked for me. – user420667 Oct 28 '17 at 00:27
  • The interface isn't ideal, but it's great to quickly view messages. I had no idea this existed. +1 – Michael Silver Feb 07 '18 at 14:13
40

There are a few options - all I found are commercial (not terribly expensive, but not free, either):

enter image description here

alt text

alt text

Mureinik
  • 297,002
  • 52
  • 306
  • 350
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
40

MSMQ QXplorer

Free. Open source.

https://sourceforge.net/projects/msmqqxplorer/

he_the_great
  • 6,554
  • 2
  • 30
  • 28
Joey V.
  • 1,866
  • 1
  • 22
  • 18
18

You can get to a snap-in here: Computer Management > Services and Applications > Message Queuing

According to: http://stevesmithblog.com/blog/how-can-i-view-msmq-messages-and-queues/

Hugo Forte
  • 5,718
  • 5
  • 35
  • 44
12

Service Bus MQ Manager is a free open-source tool I wrote to monitor the MSMQ in real-time for any incoming messages, it supports coloring and formatting of XML and JSON messages.

http://blog.halan.se/page/Service-Bus-MQ-Manager.aspx

Daniel Halan
  • 584
  • 7
  • 8
  • 2
    Disclaimer: Service Bus MQ Manager is under RPL 1.5 license which makes all "Derivative works" also open source if you want to use it freely - http://opensource.org/licenses/rpl1.5.txt . – Chris W Aug 20 '14 at 06:06
  • Blog site seems down, code is here: https://github.com/danielHalan/ServiceBusMQManager/issues Binary still available through web archive: https://web.archive.org/web/20200430113948/http://blog.halan.se:80/page/Service-Bus-MQ-Manager.aspx – ENOTTY Sep 08 '21 at 02:58
1

MSMQ Studio is an MSMQ management tool that allows you to view and send messages and manage your local and remote queues.

*** NOT AVAILABLE ANY MORE ***

MSMQ Studio