Progress
External Program
Interfaces


setPrefetchCount

In ptpsession

This procedure sets the number of messages a Sonic client can retrieve in a single operation from a queue containing multiple messages. The default is three. For example, a count of three means that Sonic client retrieves up to three message from a queue.

SYNTAX
PROCEDURE setPrefetchCount.  
DEFINE INPUT PARAMETER count AS INTEGER. 

NOTE: If 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