Browse Prior Art Database

Method of Selecting an Alternate Route According to Channel Based Criteria in IBM MQSeries Environment

IP.com Disclosure Number: IPCOM000016491D
Original Publication Date: 2003-Jun-25
Included in the Prior Art Database: 2003-Jun-25
Document File: 3 page(s) / 53K

Publishing Venue

IBM

Abstract

The present publication relates to a method and system for selecting an alternate route according to channel based criteria in a middleware environment (more particularly in an IBM MQSeries environment) enabling messages routing between queue managers according to predetermined criteria such as channel speed, link weight, cost.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 3

Method of Selecting an Alternate Route According to Channel Based Criteria in

IBM MQSeries Environment

The present publication relates to a method and system for selecting an alternate route according to channel based criteria in a middleware environment (more particularly in an IBM MQSeries environment).

In MQSeries (MQSeries is a trademark of IBM Corporation), applications communicate via queues. An application opens a queue and puts messages in it. The mover or Message Channel Agent (MCA) is the MQSeries program that moves the messages to the target queue manager using existing transport services. The target queue manager may reside in the same or in another machine. The MQSeries administrator provides static definitions that contain routing information.

When a Channel cannot be initiated, due to a connectivity failure, messages are kept in the Transmission Queue until the resolution of the outage. A communication problem can have multiple causes and possibly requires the intervention of the network support staff. In the meantime, the traffic is stopped. This may provoke a crisis situation when critical messages (whose delivery is guaranteed by the messaging middleware e.g. database updates, orders, inventories...) are no longer transmitted to applications.

European patent application 03368047.1 filed by IBM Corporation (IBM's reference FR 9 2003 0005) entitled "System for defining an alternate routing mechanism in a messaging middleware environment" (P.Bénard, P.Favre) discloses a system and method for routing messages according to an alternate path in such an environment. According to prior art, the selection of alternate channels is mainly sequential. When the primary channel is no more available, the first available alternate channel is selected. When several alternate channels are available, there is no criterion (such as channel speed, weight, cost, ...) to replace the primary channel. A PSTN line offering a 56 Kbps bandwidth can be selected while a high speed network (LAN, WAN) path is unused. This non-optimal selection generates additional delays and/or costs. There is no known solution to this problem, except a manual intervention.

It is an object of the present method to optimize the delivery of critical messages using the most appropriate alternate channel rather than using the first available channel or waiting for the re-establisment of the connection. Assuming that multiple communications paths are available between Queue Managers (QM1, QM2), the present method enables the delivery of messages using the most appropriate alternate channels while preserving the ACID (Atomicity, Consistency, Isolation and Durability) principles.

Figure 1 describes a sequential channel selection according to prior art:

1

Page 2 of 3

Network Path available:

Channel QM1.QM3.A.1: 56 Kbps, cost 1,

Channel QM1.QM3.A.2: 128 Kbps, cost 2,

......

Channel QM1.QM3.A.N: 256 Kbps, cost 4.

Static MQSeries definition:

DEFINE CHANNEL('QM1.QM3.A.1')...