Chapter 12. Filter Expressions

JBoss Messaging provides a powerful filter language based on a subset of the SQL 92 expression syntax.

It is the same as the syntax used for JMS selectors, but the predefined identifiers are different. For documentation on JMS selector syntax please the JMS javadoc for javax.jms.Message.

Filter expressions are used in several places in JBossMessaging

There are some differences between JMS selector expressions and JBoss Messaging core filter expressions. Whereas JMS selector expressions operate on a JMS message, JBoss Messaging core filter expressions operate on a core message.

The following identifiers can be used in a core filter expressions to refer to attributes of the core message in an expression:

Any other identifiers used in core filter expressions will be assumed to be properties of the message.