[TIBCO.EMS .NET Admin client library 8.1 documentation]

Returns the number of consumers for this subscription.

Namespace:  TIBCO.EMS.ADMIN
Assembly:  TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

Syntax

public int ConsumerCount { get; }
Public ReadOnly Property ConsumerCount As Integer
public:
property int ConsumerCount {
	int get ();
}

Return Value

Number of consumers on this subscription, possibly 0.

Remarks

If the subscription is unshared, 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