|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.selector.Selector
public class 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 expression
javax.jms.InvalidSelectorException - if expression is invalid| Method Detail |
|---|
public boolean selects(javax.jms.Message message)
message - the message
true if the message is selected, otherwise
false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||