Testing messages in the JMS queue

Can I recommend a tool to quickly send test messages to the JMS queue? Should the tool allow the user to enter some data, perhaps an XML payload, and then send it to the queue? I know that I could probably quickly knock on this, but I thought I'd ask first before reinventing the wheel. Greetings.

+4
source share
5 answers

ActiveMQ has a very nice web admin console that allows you to send custom messages to any queue, you can even send multiple messages at once to stress test your application.

If you need something more general, SoapUI has a JMS module . I have never tried, but the overall quality of this application package is very promising.

+3
source

See the IBM WebSphere Developer Technical Journal: Launching a stand-alone Java application in WebSphere MQ V6.0 . Although the article focuses on WebSphere MQ, code loading is a simple JMS with JNDI images and should run on any compatible JMS provider.

The best part is that it works for both queues and topics, and will either be a message producer or a message consumer based on run-time parameters. You can run it as a producer, and the other (or two, three, or four) as a consumer to check the queue or topic. The code is very simple non-gui, which makes it a great starting point for experimentation. For example, you can easily change it to set the expiration date of a message or a bridge between topics and queues.

+1
source

Two Sourceforge projects are interesting:

They are from one developer and quite active.

+1
source

You should see HermesJMS . He is very rich, some concepts are a little hard to understand ...

0
source

I wrote a client for Activemq and Hornetq that does just that. This is a commercial, but there is a 60 day trial period. You can find it at:

Rockeye jms

Regards, Serge

0
source

Source: https://habr.com/ru/post/1338900/


All Articles