Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## stopReceiveMessages procedure

> Causes the OpenEdge Adapter for SonicMQ Broker to stop receiving messages on behalf of the 4GL client and to stop sending messages already received by the OpenEdge Adapter for SonicMQ Broker for the 4GL client.

> #### Syntax

>     PROCEDURE stopReceiveMessages.

> #### Applies to

> Session objects

> #### Notes

> - A subsequent call to the startReceiveMessages procedure 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 the stopReceiveMessages procedure was called might be received by the client after the stopReceiveMessages procedure call.

> - This procedure executes remotely (sends a message to the OpenEdge Adapter for SonicMQ).

> #### See also

> startReceiveMessages procedure, stopReceiveMessages procedure

> For more information, see the "Establishing session control" section.

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