setPrefetchCount procedure
Sets the number of messages a SonicMQ client can retrieve in a single operation from a queue containing multiple messages.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
PROCEDURE setPrefetchCount.
DEFINE INPUT PARAMETER count AS INTEGER.
|
Applies to
Session objects
Notes
The default is 3. For example, a
count of 3 means that the Sonic client retrieves up to three message from a queue.
See also
For more information, see the Controlling flow of messages.