|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.selector.Selector
This class enables messages to be filtered using a message selector. This is a String whose syntax is based on a subset of the SQL92 conditional expression syntax. A selector can contain:
Constructor Summary | |
Selector(java.lang.String expression)
Construct a message selector that selects messages based on the supplied expression. |
Method Summary | |
boolean |
selects(javax.jms.Message message)
Return if message is selected by the expression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Selector(java.lang.String expression) throws javax.jms.InvalidSelectorException
expression
- the conditional expressionjavax.jms.InvalidSelectorException
- if expression is invalidMethod Detail |
public boolean selects(javax.jms.Message message)
message
- the messagetrue
if the message is selected, otherwise
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |