Message selectors allow you to filter specific messages using a selector string. The message consumer will then receive only messages whose headers and properties match the selector. There are different patterns that can be used in selector strings, and the broker (JMS provider) filters messages according to that query. It is not possible for a message selector to filter messages on the basis of the content of the message body.
Note |
---|
Note that message selectors are not supported in a clustered setup of WSO2 Message Broker (WSO2 MB). |
Message headers
A message header contains a number of predefined fields that contain values that both clients and providers can use to identify and to route messages.
...