After upgrading client from the 7.5.2 to the 8.4 client library,both RV DQ members received messages.
book
Article ID: KB0089793
calendar_today
Updated On:
Products
Versions
TIBCO Rendezvous
-
Not Applicable
-
Description
Resolution: Description: ============= There are two RV DQ members listening on the same subject. Use the 7.5.2 client library, only one of them receives messages. After upgrade to 8.4 client, both receive messages.
Cause: =============
We require that each member of a distributed queue must listen for the same set of subjects using CM listener objects. Yet even when N members listen for each inbound message (or task), only one member processes the message. Prior to RV 8.x, this rule is not strictly enforced. Even members of a distributed queue use *non-CM* listeners, only one member processes the message. This is corrected since RV 8.x. Multiple listeners will receive messages if they are non-CM listeners.
This issue can be reproduced with a modified sample code, cmqmember.java. The only change is to switch TibrvCmListener to TibrvListener. With client version 8.x, both modified dq members subscribe to the subjects, which is expected due to a TibrvListener being used instead of TibrvCmlistener. However, with client version 7.5.x, only one of them subscribes to the subject which is misleading.
Resolution: ============= Follow the RV guide and use CM listeners objects.
Issue/Introduction
After upgrading client from the 7.5.2 to the 8.4 client library,both RV DQ members received messages.