countQueuedMessages

countQueuedMessages(): Integer;

The countQueuedMessages method of the JadeGenericQueue class returns the number of messages present in the queue.

The queue must be opened by the openQueue method defined in the JadeMessagingFactory class, with Usage=Inq or Usage=All included in the options parameter.