Consultor Eletrônico



Kbase P76807: How to set the queue message prefetch count value for the SonicMQ adapter
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/16/2004
Status: Unverified

GOAL:

How to set the queue message prefetch count value for the SonicMQ adapter

FACT(s) (Environment):

Progress 9.1D

FIX:

The method to use is:
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.

see:
Progress External Program Interfaces
Chapter C 4GL-JMS API Reference
for more details.