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

Messaging between two WebSphere MQ networks through an application server

We can use WebSphere MQ links to send a message from one WebSphere MQ network to another through a WAS application server.

We can exchange messages between two WebSphere MQ networks through an intermediate service integration bus, as shown in the following figure.

Figure 1. Exchanging messages between two WebSphere MQ networks through an intermediate application server.

Configuration and operation of messaging between two WebSphere MQ networks (buses) through an intermediate service integration bus is much simpler if you choose a service integration bus name that complies with WebSphere MQ queue manager naming restrictions:

Messages received by the service integration bus from one WebSphere MQ network and destined for another WebSphere MQ network specify both the target queue name and the target queue manager name. Service integration interprets the target queue manager name as a bus name. When the target queue manager is the gateway queue manager for the target WebSphere MQ network, service integration routes the message correctly. When the target queue manager is not the gateway queue manager for the target WebSphere MQ network, there are two options:

Messages received by the service integration bus from one WebSphere MQ network and destined for another WebSphere MQ network can include a reply-to queue. This is specified as the reply-to queue name and the reply-to queue manager name. When the service integration bus receives the message, the WebSphere MQ link replaces this reply-to information with a service integration bus destination comprising a bus name (which is the WebSphere MQ queue manager name of the gateway queue manager) and a destination name (identifier) of the form reply-to-queue-name@reply-to-queue-manager-name. This new reply-to information travels with the message to the receiving WebSphere MQ application. The combined length of the reply-to queue name, the "@" character, and the reply-to queue manager name must be less than or equal to the WebSphere MQ maximum queue name length of 48 characters.


+

Search Tips   |   Advanced Search