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.
The SonicMQ broker only uses the flow-to-disk feature for pub/sub messages.
See also
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 .