Message Filters provide an SQL-like syntax to only retrieve MQ messages meeting specific filter criteria in its message header or properties. The remaining messages are left on the MQ server and can be accessed by other applications or additional MQ Retrieve Message Tasks that process a different sub-set of messages.
Multiple message filter strings can be grouped in parenthesis and concatenated with NOT, AND, OR. The message filters are constructed using the following structure:
[Selector Property or Identifier] [Operator] [Literal]
Example: The message filter JMSPriority >=8 AND system = 'production' would only retrieve messages who's priority was greater than or equal to 8 and had a property named system with a value of production.