Connecting to WebSphereMQ using JMS/JNDI
Configuring a JMS Topic Transport
The configuration dialog for a WebSphere JMS transport listening for messages on JMS topic NEWS.TOPIC is shown below. The destination NEWS.TOPIC and the ConnectionFactory were configured using the JDNI utility with the WebSphereMQ Explorer. MagooClient uses JMS V1.1 conventions so no distinction is made between queues and topics when specifying a Destination or ConnectionFactory.
Publishing on a Topic
Once configured, an XML test message can be sent to validate correct operation. In this case an invalid FpML messages is created based on the FpML schema which had previously been registered in the MagooClient Message Type Catalog.
On the To: line enter the destination jms:NEWS.TOPIC and click on Send. The message will be published to the NEWS.TOPIC JMS destination. The message is then picked up by the JMS NEWS.TOPIC transport, which has established a subscription for that topic, and placed in the inbox.
Summary
As can be seen from the above example, MagooClient can be very quickly and simply deployed as a user client for WebSphereMQ-based applications using either the native Base implementation or via a JMS/JNDI configuration.