wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Tools for manipulating JMS queues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tools for manipulating JMS queues" Watch "Tools for manipulating JMS queues" New topic

Tools for manipulating JMS queues

J Rosetto

Joined: Jun 03, 2008
Posts: 21
Does anyone know of any open source tools which can be used for reading and writing (i.e. producing and consuming) messages on queues on a JMS server (e.g. ActiveMQ)?

This tool would be used in functional tests of a component being developed which takes all input from a JMS queue.

Thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
What would this tool do, specifically? Reading and writing from/to JMS queues is normally done through the JMS API.
J Rosetto

Joined: Jun 03, 2008
Posts: 21
It would just provide a simple GUI (or even a scripting interface) to allow someone to produce messages and be able to analyse the responses.

As this is for testers, I don't want to have to access the JMS API directly.
Rodrigo Lopes
Ranch Hand

Joined: Feb 29, 2008
Posts: 119
Try the Hermes JMS
J Rosetto

Joined: Jun 03, 2008
Posts: 21
I had a quick play of Hermes alongside activeMQ. It almost does what I need. However, I found two main issues with it:

1) I couldn't refresh the list of available queues once I had started Hermes.
2) I couldn't view replies to messages.
Colin Crist

Joined: Jul 01, 2008
Posts: 1

You can "rediscover" topics and queues with Hermes by right clicking on the session name and choosing "discover"

As for searching for replies, well its very easy for me to implement via an action so do add an issue at http://hermesjms.com/jira. In the meantime use the filter at the bottom of the window with JMSCorrelationID = 'your id'. Sorry there is no C&P support from the cell in the message header table... another one for JIRA...


Serge Merzliakov

Joined: Apr 29, 2011
Posts: 2
I know this reply is a little bit late....but I have built a generic JMS client for administering Open Source JMS Servers (Currently Activemq and Hornetq). It can send and receive messages and most of the usual stuff, as well as aggregate queues and topics into logical "groups".

Its a commercial product but the BETA is free and is fully functional.

try it out at http://www.rockeyesoftware.com/ and let me know if it suits your needs.

I am looking at adding support for commercial JMS vendors as well in future releases.

I agree. Here's the link: http://aspose.com/file-tools
subject: Tools for manipulating JMS queues
It's not a secret anymore!