+

Search Tips   |   Advanced Search

Messaging between two IBM MQ networks through an application server

Use IBM MQ links to send a message from one IBM MQ network to another through a WebSphere Application Server application server.

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

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

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

Messages received by the service integration bus from one IBM MQ network and destined for another IBM 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 IBM MQ network, service integration routes the message correctly. When the target queue manager is not the gateway queue manager for the target IBM MQ network, there are two options:

Messages received by the service integration bus from one IBM MQ network and destined for another IBM 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 IBM MQ link replaces this reply-to information with a service integration bus destination comprising a bus name (which is the IBM 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 IBM 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 IBM MQ maximum queue name length of 48 characters.