Progress
External Program
Interfaces


setPrefetchThreshold

In ptpsession

This procedure determines when the Sonic client goes back to the broker for more messages. The default is one. For example, a threshold of one means that Sonic does not go back to the broker for more messages until the last message has been delivered.

SYNTAX
PROCEDURE setPrefetchThreshold.  
DEFINE INPUT PARAMETER threshold AS INTEGER. 

NOTE: If this procedure is called before beginSession is called, an error is raised.

For information on this procedure in context, see the "Flow Control" section in Accessing SonicMQ Messaging From the Progress 4GL."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095