Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : stopReceiveMessages procedure

stopReceiveMessages procedure

Causes the OpenEdge Adapter for SonicMQ Broker to stop receiving messages on behalf of the OpenEdge client.


PROCEDURE stopReceiveMessages.

Applies to

Session objects


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