getEventQueueSize()

Purpose

(Custom) Retrieves the size of the TIBCO Rendezvous event queue for the specified adapter instance. For more information on events and event queues, see TIBCO Rendezvous Concepts.

Parameters

 

Parameter

Type

Description

Session

string

Type of listener for this adapter instance. Possible values are Subscriber or Request/Reply. The default value is Subscriber.

Returns

 

Return

Type

Description

QueueCount

integer

The number of events currently in the event queue.

QueueLimit

integer

The maximum number of events this adapter instance can have in the event queue. This value is set using the adb.rvMaxQueueSize option in the adapter’s properties file. The default value is 0, which means the event queue has unlimited size.

Note: If you set the value of adb.rvMaxQueueSize to be smaller than the message count, then the message might be lost.