Using a JMS message selector a client can specify, by submitting the text of a message header, those messages it is interested in. Only messages whose headers and properties match the selector are delivered. Message selectors cannot reference message body values. The message selector string must follow JMS selector syntax.
For more information, see Specifying retry parameters for JMS activities