WebSphere WebSphere Application Server Network Deployment, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Learning about programming for interoperability with WebSphere MQ

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

The WebSphere Application Server can be connected to other messaging systems based upon WebSphere MQ, including

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 Using a JNDI namespace to connect 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 Mapping of messages flowing through the WebSphere MQ link. 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 messages. You will have to take these differences into account when you design your WebSphere messaging application (for more information about designing, see Designing for interoperation with WebSphere MQ). The differences are:

Task topic

Terms of Use | Feedback

Last updated: 5 Oct 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\tasks\tjcAL10_.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)