WebSphere

How to connect to WebSphere MQ

You can connect to WebSphere® MQ in a number of ways. This section shows some of the options.

Introduction

The following scenarios can be used to communicate with either WebSphere MQ or with WebSphere Message Broker, because WebSphere Message Broker can exchange messages with WebSphere MQ. Therefore, you could connect to WebSphere MQ, and from WebSphere MQ connect to WebSphere Message Broker.

Connect using native MQ

If you want to communicate with native WebSphere MQ applications, you can use MQ bindings. MQ bindings communicate with WebSphere MQ using native MQ messages (the Message Queue Interface MQI).

The MQ bindings need data bindings, and there are a number of MQ data bindings supplied. For more information, see: Click this link to go to the topic for WebSphere Integration Developer.

Note:
  • You can only use MQ bindings with "remote" queue managers, through a WebSphere MQ client connection; you cannot use WebSphere MQ bindings with local queue managers. However, you can always connect to a "local" queue manager, (one on the same machine as the WebSphere ESB or WebSphere Process Server), as if it were remote by connecting through the client connection.
  • MQ bindings only support point-to-point messaging (although WebSphere MQ itself supports publish/subscribe messaging).
Figure 1. Using an MQ binding
A service requester can communicate with the ESB through a Web services export, and the ESB can communicate with MQ through an MQ import.

Connect using MQ JMS

If you want to communicate with Java™ Message Service (JMS) applications deployed to WebSphere MQ, (applications using WebSphere MQ as the JMS provider), you can use MQ JMS bindings. MQ JMS bindings let you communicate with WebSphere MQ using JMS messages (the JMS API).

The MQ JMS bindings need data bindings, and there are a number of MQ JMS data bindings supplied. For more information, see: Click this link to go to the topic for WebSphere Integration Developer.

Note: MQ JMS bindings support point-to-point messaging and publish/subscribe messaging (publish/subscribe messaging is for one-way operations only).
Figure 2. Using an MQ JMS binding
A service requester can communicate with the ESB through a Web services export, and the ESB can communicate with MQ through an MQ JMS import.

concept Concept topic

Terms of use | Feedback


Timestamp icon Last updated: 20 June 2010 00:38:44 BST (DRAFT)


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wbpm.scenarios.esb1.620.doc/concepts/cwesb_scenario_mq.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).
iDoc on