Learning about programming for interoperability with WebSphere MQ using WebSphere MQ Links

This topic describes what you need to know to write programs that will interoperate with a WebSphere® MQ network.

WebSphere Application Server can be connected to other messaging systems that are based upon WebSphere MQ, including the following systems:

Interoperation with other JMS systems and clients is straightforward if your messaging application connections are built using a connection factory and stored in a JNDI namespace. The JNDI namespace insulates your application from provider-specific information, and there are no differences that are significant for programming messaging applications. Read more about how JNDI simplifies the programming task in JNDI namespaces and connecting to different JMS provider environments.

If your application has to interoperate with queue managers on WebSphere MQ systems, there are a few significant differences that programmers must account for in their messaging applications.

Application messages received from another WebSphere MQ-based messaging system are converted into JMS messages. When messages are sent to WebSphere MQ, the conversion is performed in the opposite direction. A configuration setting on the destination definitions determines whether JMS messages are forwarded to WebSphere MQ as MQ JMS messages (which include an MQRFH2 header) or as non-JMS MQ messages.

You can read more about how the two sets of formats are mapped to each other in How service integration converts the message body to and from WebSphere MQ format. You can read more about how the different delivery options for the two message formats map to each other in Mapping of message delivery options flowing through the WebSphere MQ link.

There are three main differences between the WebSphere Application Server service integration and WebSphere MQ messaging. These differences are described in the following topics: You must take these differences into account when you design your messaging application. For more information about designing, see Designing an application for interoperation with WebSphere MQ.



Subtopics
JNDI namespaces and connecting to different JMS provider environments
Issues relating to addressing bus destinations across the WebSphere MQ link
How WebSphere MQ link handles reply-to queues
How WebSphere MQ link handles reply-to topics
Related tasks
Programming for interoperation with WebSphere MQ
Concept topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=cjcAL10b_
File name: cjcAL10b_.html