Editor’s Note: The VMR (Virtual Message Router) mentioned in this post is now Solace PubSub+.
From time to time we get asked from Customers how they can browse messages, and message payloads specifically, from durable topics and queues. This can be from application topics and queues, but more often than not it’s from Dead Message Queues.
Whilst our SolAdmin management application for Solace message routers can be used to view how many messages are sitting in a given durable topic or queue, you may only view characteristics and properties of a message such as for example the date it was spooled, the size of the message, or any of the message properties.
That is where a tool like HermesJMS comes into play. HermesJMS is an open source graphical user interface for working with JMS Providers that allows you to browse JMS topics and queues. Whilst we acknowledge that HermesJMS isn’t actively contributed to these days, the tool is still widely used by many people for the purpose that it was developed for in the first place.
So, how then do I get a copy of HermesJMS running my machine if it’s not actively maintained anymore, you ask? Well the team over at SmartBear who developed SoapUI, an open source functional testing tool for API testing, bundle a working copy of HermesJMS into SoapUI to allow their users to work with JMS messages. SoapUI is available in both free and pro editions with HermesJMS being bundled into both of them. You can download a copy of SoapUI here and make sure you leave the option to install HermesJMS during the installation process.
Once you have SoapUI installed, jump on over to our Solace integration guides and open up the HermesJMS guide here. It gives you all the information you need to configure HermesJMS with a Solace JMS Session and start browsing messages.
Here are some key points about using HermesJMS from within SoapUI that:
For those of you that may be unfamiliar with configuring Solace JNDI objects, like JMS Connection Factories or JMS Queues, then head on over to our documentation here and read all about it. You will need to have JMS Connection Factories and JMS Topic or Queue objects created in Solace that you connect to from HermesJMS. These can either be crated from the Solace CLI or SolAdmin. Here are some screenshots that show these objects created in SolAdmin.
Here is the end result, a screenshot showing you HermesJMS in action connected to Solace and browsing messages from a JMS Queue.
So, what are you waiting for? Give it a try for yourself today!