Collapse All Expand All

.NET Framework Class Library
ConsumerInfo..::.Details Class See Also

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

Returns true if this consumer is active. Active consumers are consumers to which the server can send messages to. Only queue consumers which never called Receive() remain in inactive state. Queue consumers which called Receive() at least once or are configured with the message callback, and all topic consumers are always active. This method can identify inactive queue consumers which never called Receive() and, while present, never receive any messages from the server even in presence of pending messages in corresponding queue.

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

# Syntax

    public bool Active { get; }

    Public ReadOnly Property Active As Boolean

    public:
    property bool Active {
    	bool get ();
    }

#### Return Value

false if this is a queue consumer which is not configured with the message callback and never called Receive(). Returns true in all other cases.

# See Also

ConsumerInfo..::.Details Class
TIBCO.EMS.ADMIN Namespace