An updated simple WebLogic JMS client

A little while ago, we posted a simple JMS client for WebLogic here. That post demonstrated how to create a simple JMS client program that could send messages to a WebLogic JMS queue. It also showed how to set up the necessary definitions on the WebLogic Server in the first place, and how to see the details of the messages after they had been sent.

In that post we mentioned that there are often times when we want to be able to send messages to a JMS queue. One such time was recently when we wanted Oracle Universal Content Management (UCM) to send a JMS message every time a new piece of content was checked in to the content management system. In order to do that, we reused this code, but it needed a small update to allow us to pass in details of the server, queue name, etc.

This post presents an updated simple JMS client, in Java. Here it is still general purpose. In a future post, we will show how it is used to satisfy the use case described above. We will also present this updated simple client in C# in a separate post. This post will be updated with links when these new posts are published.