How to automatically reconnect to a second Queue Manager from the TIBCO ActiveMatrix Adapter for WebSphere MQ.

How to automatically reconnect to a second Queue Manager from the TIBCO ActiveMatrix Adapter for WebSphere MQ.

book

Article ID: KB0093024

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ -
Not Applicable -

Description

Description:
How to automatically reconnect to a second Queue Manager from TIBCO ActiveMatrix Adapter for WebSphere MQ.

Issue/Introduction

How to automatically reconnect to a second Queue Manager from the TIBCO ActiveMatrix Adapter for WebSphere MQ.

Environment

Product: TIBCO Adapter for MQSeries Version: 6.2.1 OS: AllWebsphereMQ: 7.0.1 or above --------------------

Resolution

On the WebsphereMQ side:


1). Create two Queue Managers, one named QM1, set as the default Queue Manager and the other named QM2.


2). Create a Sever-connection Channel named CONN in QM1 and QM2 and create a client connection channel. In the client connection channel's property, specify a connection name such as: <QM1 machine ip>(QM1 listener),<QM2 machine ip>(QM2 listener). For example, 192.168.69.79(1414),192.168.69.86(1415).  Note that there is no need to specify the Queue Manager name in this step.

On the MQ Adapter side:


3). The MQ Adapter works as an MQ Client node. Leave the Queue Manager name blank under the Run-time Connection tab in Designer.


4). Specify "Parameters for test connection" under the Run-time Connection tab as Sever-connection Channel/TCP/<QM1 machine ip>(QM1 listener),<QM1 machine ip>(QM1 listener). For example, CONN/TCP/192.168.69.79(1414),192.168.69.86(1415).