Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for posting test messages onto a JMS queue? [closed]

Tags:

Can anyone recommend a tool for quickly posting test messages onto a JMS queue?

Description:

  1. The tool should allow the user to enter some data, perhaps an XML payload, and then submit it to a queue.
  2. I should be able to test consumer without producer.
like image 658
ryan Avatar asked Sep 01 '08 13:09

ryan


People also ask

How do I send a message to JMS?

Before a JMS application can send messages to a destination, it must first create a MessageProducer object for the destination. To send a message to the destination, the application creates a Message object and then calls the send() method of the MessageProducer object.

Which of the following method is used to send a message in JMS?

To send a message, an application uses the send() method of a MessageProducer object, as shown in the following example: producer. send(outMessage); An application can use the send() method to send messages in either messaging domain.

What is JMS tool?

JMS (Java Message Service) is an API that provides the facility to create, send and read messages. It provides loosely coupled, reliable and asynchronous communication. JMS is also known as a messaging service.


2 Answers

This answer doesn't apply to all JMS brokers, but if you happen to be using Apache ActiveMQ, the web-based admin console (by default at http://localhost:8161/admin) allows you to manually send text messages to topics or queues. It's handy for debugging.

like image 82
Will Avatar answered Oct 10 '22 06:10

Will


HermesJMS seems to be a rather powerful client for interacting with JMS providers. In my opinion, it is pretty unintuitive and hard to set up, though. (At least I'm mostly failing at it...)

Other, more user-friendly clients are often vendor-specific. Sonic Message Manager is a very nice and simple-to-use open-source JMS client for SonicMQ. It would be great to have a client like that working with different providers.

like image 38
Christian Berg Avatar answered Oct 10 '22 05:10

Christian Berg