tibemsSubscriptionInfo_GetPendingMessageCount

Function

Purpose

Get the number of pending messages for a subscription.

C Declaration

tibems_status tibemsSubscriptionInfo_GetPendingMessageCount(
    tibemsSubscriptionInfo subscriptionInfo,
    tibems_long* msgCount);

COBOL Call

CALL "tibemsSubscriptionInfo_GetPendingMessageCount"
 USING BY VALUE subscriptionInfo,
       BY REFERENCE msgCount,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
subscriptionInfo Get the number of pending messages for this subscription.
msgCount Store the number of pending messages.