WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

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.

About this task
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 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.

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/tasks/tjcAL10_.html

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