<< Click to Display Table of Contents >> Navigation: Event and Object Analysis > Capture Results Filtering > Filtration Basics > Rules > Criteria and Conditions > CHECK-MESSAGE-ID Condition |
Checks the Message-ID (for LOTUS protocol, the X-Sensor-Lotus-MessageId) message header for repeated occurrence within the defined period of time (tracking duplicate messages).
Description
This condition checks if a message with the same Message-ID (for Lotus Notes, the X-Sensor-Lotus-MessageId header) has already occurred within the specified period of time.
Format
<c name="check-message-id" time="<timeout>" />
The "name" attribute:
The name attribute specifies the name of the condition: name="check-message-id".
The "time" attribute:
The time="..." attribute specifies the timeout in milliseconds.
This timeout should be not less than 1 millisecond and not more than 5 minutes, which is 5*60*1,000=300,000 milliseconds.
Example:
Delete duplicate messages with the same Message-ID header if they arrive within 2 seconds.
<?xml version="1.0" encoding="utf-8"?>
<filter name="Message filter" version="1.0">
<comment>Message filter.</comment>
<table name="main">
<rule enabled="1">
<match>
<c name="check-message-id" time="2000" />
</match>
<action name="drop" />
</rule>
</table>
</filter>