Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 15 Administration : tibemsSubscriptionInfo : tibemsSubscriptionInfo_GetConsumerCount

tibemsSubscriptionInfo_GetConsumerCount
Function
Purpose
Get the number of consumers for this subscription.
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.
Parameters
 
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.
See Also
tibemsSubscriptionInfo_IsDurable on page 530
tibemsSubscriptionInfo_IsShared on page 531

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved