tibemsSubscriptionInfo_GetConsumerCount
Function
C Declaration
tibems_status tibemsSubscriptionInfo_GetConsumerCount( tibemsSubscriptionInfo subscriptionInfo, tibems_int* consumerCount);
COBOL Call
CALL "tibemsSubscriptionInfo_GetConsumerCount" USING BY VALUE subscriptionInfo, BY REFERENCE consumerCount, RETURNING tibems-status END-CALL.
Remarks
Returns the number of consumers for this subscription. If the subscription is not shared, the count cannot exceed 1. If the subscription is shared, the count can exceed 1, since a shared subscription can have many shared consumers.
For durable subscriptions (shared and unshared), this count can be 0 if there is no active durable consumer.
Copyright © Cloud Software Group, Inc. All rights reserved.