Chapter 4. Connectivity options for interoperability 59
themselves be on many dissimilar systems. An MQ binding provides a way to
communicate directly with WebSphere MQ using both exports (incoming) and
imports (outgoing). An MQ binding communicates with WebSphere MQ using
native MQ messages.
An MQ binding is new for WebSphere Process Server 6.0.2, and is designed to
provide a direct replacement for the WebSphere MQ Link functionality that is still
available as part of the WebSphere Application Server platform. It is more
straightforward to configure and is generally recommended over MQ Link. An MQ
binding also provides a convenient way to communicate with WebSphere
Message Broker via WebSphere MQ.
In the binding settings, receive and send destination names are specified. These
correspond to destinations on a WebSphere MQ queue manager. Such details
as the queue manager name and the host name for the queue manager must
also be specified.
In this section, we show how a WebSphere MQ message maps to SCA artifacts.
That is, we show how a message maps to a business object and how input and
output from a WebSphere MQ client maps to an interface’s operations.
MQ import and data bindings
Four MQ native body data bindings, which serialize between the SDO and the
MQ message body, are supplied with WebSphere Process Server. In addition,
you can use a user-supplied data binding.
Restrictions: An MQ binding has the following restrictions:
? The publish/subscribe method of distributing messages is not currently
supported by the MQ binding, although WebSphere MQ itself supports
publish-subscribe.
? MQ client connections are the only type of connections that are supported.
? Channel compression, which compresses the data that flows on a
WebSphere MQ channel to improve performance, is not supported.
? WebSphere MQ headers have specific data types and parsers for them
determine the data type of each field in the header. MQ bindings currently
provide support for the MQRFH and MQRFH2 header.