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

setFlowToDisk procedure

Enables or disables the SonicMQ flow-to-disk functionality.
Note: The JMS providers other than SonicMQ do not support this method.

Syntax

PROCEDURE setFlowToDisk.
DEFINE INPUT PARAMETER val AS INTEGER NO-UNDO.

Applies to

Session objects

Notes

*When enabled, the SonicMQ broker saves messages to disk if the client is blocked and cannot receive the messages.
*You can set up the SonicMQ broker to have this feature on or off by default.
*The input parameter can have the following possible values:
*0 specifies to use the broker setting.
*1 turns on flow-to-disk.
*2 turns off flow-to-disk.
*This procedure can only be called before the session is started with beginSessionprocedure .
*The SonicMQ broker only uses the flow-to-disk feature for pub/sub messages.

See also

getFlowToDiskfunction
For more information on this SonicMQ feature, see the "Flow to Disk" section in the "SonicMQ Client Sessions" chapter of the SonicMQ Application Programming Guide.