setFlowToDisk procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
Enables or disables the SonicMQ flow-to-disk functionality.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
|
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 beginSession procedure.
- 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.