ENS allows a payload for two event types: NewMsg, and UpdateMsg; the other event types do not carry a payload. The payload portion of these two notifications can contain any of the following data:
No header or body data (default setting)
Message header data only
Message body data only
Both message header and body data
The amount and type of data sent as the payload of the ENS event is determined by the configuration parameters found in Table 4–5.
Table 4–5 Payload Configuration Parameters
Configuration Parameter |
Description |
---|---|
local.store.notifyplugin.maxBodySize |
Specifies the maximum size (in bytes) of the body that will be transmitted with the notification. Default setting is zero (0). |
local.store.notifyplugin.maxHeaderSize |
Specifies the maximum size (in bytes) of the header that will be transmitted with the notification. Default setting is zero (0). |
Note that both parameters are set to zero as the default so that no header or body data is sent with ENS notifications.