WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Content based filtering examples

Some examples of content based filtering.

Content Filter Explanation
Body.Person.Salary>10000 Filtering against an integer literal
"Body.Person.Address"[1]NOT LIKE'Blen%
'AND"Body.Person.Salary">15000
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
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:25


General topicGeneral topic | Version 8.0.0.7 | bq13360_