Content based filtering examples
Some examples of content based filtering.
Content Filter | Explanation |
---|---|
Body.Person.Salary>10000 | Filtering against an integer literal |
|
A more complex filter. Note that field identifiers can optionally be surrounded by double quotation marks. |
Body.Date1='2000-02-14' | Filtering against a date. The date is matched as a string and care must be taken with its layout (see below). |
Body.Person.ApprovalFlag | Filtering against a Boolean field. |
Body.Person.Salary+Person.Bonus>Body.Person.Limit | An arithmetic filter. |
Properties.Topic='employees/marketing' | Filtering on a message property. |
Root.MQMD.UserIdentifier='Blair' | Filtering on a message attribute. |
Body.Person.HourlyRate = 10.24 | Filtering against a float literal |
Body.Planet.DistanceFromSun = 0.93E8 | Filtering against a float literal in exponential format |