8.7. Message selectors
JMS provides facilities to query the messages on a queue so that a subset of the messages can be selected based on a given criteria. This can be thought of as a SQL query facility in databases. In fact the syntax for such a search is based on SQL92 standards for conditional expressions. A message selector is a string containing a conditional expression. The message selector can refer to fields in the JMS message header as well as fields in the message properties that are application-defined fields.
The order of evaluation of a message selector is from left to right within precedence level. You can use parentheses to change the order of evaluation. The selector literals and operator names are case sensitive.
A selector ...
Get MQSeries Programming Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.