Consultor Eletrônico



Kbase 20172: SonicMQ: Why isn't my PREFETCH_COUNT used on the first prefe
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/12/2000
SUMMARY:
This solution applies to Progress SonicMQ Version 2000.x.

EXPLANATION:

If the connection is already started when the receiver is created, the first prefetch occurs during the createReceiver() call, before an application gets a chance to call setPrefetchThreshold()/setPrefetchCount(). The first prefetch would
use the default count of 3.

SOLUTION:

To avoid this, create the receiver, set the prefetch count, and then start the connection.