|
Property
|
Description
|
|---|---|
|
enabled
|
Whether or not the store is enabled.
The default setting of true enables offline message store. Set this property to false to disable it.
|
|
directory
|
The path to the directory of the store where messages are stored.
The default value is "/path/to/offline/message/store/directory". Here is an example:
directory: "/opt/thingworx"
where "/opt/thingworx" is the directory where the EMS executable is installed (Linux).
|
|
max_size
|
The maximum size (in bytes) of the directory where messages are stored.
The default value is 65535 bytes.
|
|
blocking
|
Whether or not the offline message store blocking feature is enabled. The default setting is false, meaning that when the connection is restored, messages are flushed without confirming delivery.
When this property is set to true, EMS waits for delivery confirmation from the ThingWorx Platform before deleting messages from the offline store. Messages are retained until ThingWorx acknowledges receipt, which can cause the flushing of the message store to take longer.
For more information on the offline message store, see the "Enabling Reliable Offline Message Delivery" section of How to Configure Components of the C SDK in the ThingWorx Edge C SDK Help Center.
|