Progress
External Program
Interfaces


stopReceiveMessages

In Session Objects

This procedure causes the SonicMQ Adapter broker to stop receiving messages on behalf of the 4GL client and to stop sending messages already received by the SonicMQ Adapter broker for the 4GL client. A subsequent call to startReceiveMessages resumes message reception and delivery.

If this procedure is called in a pubsubsession object and the subscription is not durable, messages published while reception is stopped are not delivered. A single message that was already sent to the client before stopReceiveMessages was called might be received by the client after the stopReceiveMessages call:

SYNTAX
PROCEDURE stopReceiveMessages. 

NOTE: This procedure executes remotely (sends a message to the SonicMQ Adapter).

For information on this procedure in context, see the "Session-level Methods" 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