Determines when the SonicMQ client goes back to the broker for more messages.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
PROCEDURE setPrefetchThreshold.
DEFINE INPUT PARAMETER threshold AS INTEGER.
Parameter
threshold
Prefetch threshold.
Applies to
Session objects for ptpsession
Notes
The default is 1. For example, a threshold value of 1 means that Sonic does not go back to the broker for more messages until the last message has been delivered.