WAS v8.5 > WebSphere applications > Messaging resources > Interoperation with WebSphere MQ

Interoperation using a WebSphere MQ server

A WebSphere MQ server represents a WebSphere MQ queue manager or (for WebSphere MQ for z/OS ) queue-sharing group. Service integration can communicate directly with a WebSphere MQ queue manager or queue sharing group where a WebSphere MQ queue is located. We can configure a service integration queue-type destination to add messages directly onto the WebSphere MQ queue, and retrieve messages directly from the queue.

For interoperation with WAS v7.0 or later, the version of WebSphere MQ must be WebSphere MQ for z/OS v6 or later, or WebSphere MQ (distributed platforms) v7 or later.

To configure WAS for this style of interoperation with WebSphere MQ, you define a WebSphere MQ server. This definition represents the WebSphere MQ queue manager or queue sharing group that hosts the queue which to access. The definition has cell scope. The same WebSphere MQ server definition works for all queues in the queue manager or queue sharing group.

Next, you add the WebSphere MQ server as a member of the service integration bus (or buses) that require access to the queues the WebSphere MQ server hosts. If we have several service integration buses in your cell, we can add the same WebSphere MQ server as a bus member into more than one of these buses.

After we have done this, we can define queue-type destinations in the service integration bus so that service integration adds messages directly onto a WebSphere MQ queue located on the WebSphere MQ server, or retrieves messages directly from that queue, or both. To help you define your service integration destinations, we can (optionally) select the WebSphere MQ queue to use from a list which the dmgr console gets directly from the WebSphere MQ queue manager or queue sharing group. This facility is called "queue discovery".

To mediate a service integration queue-type destination, then you must define two queues within the destination. One is used to queue messages arriving at the destination ready for mediation; this is called the mediation point. The other is used to queue messages after mediation is complete and the messages are ready to be consumed; this is called the queue point. Either the mediation point, or the queue point, or both, can be defined as WebSphere MQ queues (as previously described).

We can create and configure a WebSphere MQ server or by using wsadmin. If we use the dmgr console, the server creation wizard can automatically discover resources in the WebSphere MQ network.


Subtopics


Related concepts:

Message exchange through a WebSphere MQ link
WebSphere MQ server and mediated exchange scenarios


Related


Use a WebSphere MQ server to integrate WebSphere MQ queues into a bus


Reference:

SIBAdminCommands: WebSphere MQ server administrative commands for AdminTask
WebSphere MQ server: Restrictions with mixed level cells and clusters


+

Search Tips   |   Advanced Search