Section 22.5 of the
EJB 2.0 spec states:
<!--
The message-selector element is used to specify the JMS message selector
to be used in determining which messages a message-driven bean is
to receive.
Example:
<message-selector>JMSType = �car� AND color = �blue� AND weight >
2500</message-selector>
Used in: message-driven
-->
<!ELEMENT message-selector (#PCDATA)>
You may check out the
javax.jms.Message class comment for a detailed definition of message selectors