How to configure TIBCO ActiveMatrix(R) Adapter for WebSphere MQ as Fault Tolerace (FT) mode for inbound services with TIBCO Enterprise Message Service(TM) transport?
book
Article ID: KB0089999
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix Adapter for Websphere MQ
-
Not Applicable
-
Description
Resolution: Description:
========== This is an introduction on configuring TIBCO ActiveMatrix(R) Adapter for WebSphere MQ as Fault Tolerance mode for inbound service with TIBCO Enterprise Message Service(TM) as transport.
Environment:
===========
TIBCO ActiveMatrix(R) Adapter for WebSphere MQ 5.x, 6.x
Resolution:
========== Configuration of MQ adapter:
1). Configure two adapter instances with the same configuration.
2). Configure both to listen on the same JMS destination.
3). Deploy and start both Adapter instances. As both adapter instances are listening on the same JMS destination, both adapter instances can pick up the requests from the queue one-by-one. They will work in load balance mode if both adapters are running and if one adapter goes down the other adapter instance can continue to pick up the request from the queue. In this way the adapter would achieve Fault Tolerance along with load balancing.
In this configuration, two adapters will randomly consume message from EMS. If we want to keep one adapter consuming message and keep the other adapter standby, we have to configure in EMS.
Configuring EMS:
1). Configure the EMS connection factory type as a Queue in the project.
2). Specify the Destination under the Advanced Tab. For example, set it as MQ.XXX .
3). Create queue MQ.XXX on the EMS Server and specify its property with the command “addprop queue MQ.XXX exclusive” in the EMS Administration Tool.
References: ========== The Exclusive is one property of the EMS queue whose meaning is as follows:
"The exclusive property is available for queues only (not for topics), and cannot be used with global queues. When exclusive is set for a queue, the server sends all messages on that queue to one consumer. No other consumers can receive messages from the queue. Instead, these additional consumers act in a standby role; if the primary consumer fails, the server selects one of the standby consumers as the new primary, and begins delivering messages to it.".
Issue/Introduction
How to configure TIBCO ActiveMatrix(R) Adapter for WebSphere MQ as Fault Tolerace (FT) mode for inbound services with TIBCO Enterprise Message Service(TM) transport?