Public Member Functions | |
ACSJMSMessageSelector (String sqlSelectorString) throws InvalidSelectorException | |
String | getSelectorString () |
void | setSelectorString (String newSQLSelString) throws InvalidSelectorException |
boolean | match (ACSJMSMessage message) |
Private Attributes | |
String | selectorString |
ISelector | selector = null |
|
The constructor
|
|
|
|
Check if the message matches with the SQL selector string. The test passes also if the string is empty or null.
|
|
Set the new SQL selector string and create the instance of selector. selector is set to null if the string is null or empty.
|
|
The selector object
|
|
The message selector string It is an SQL92 string as described in JMS specification All the messages that do not match with this statement are discarded, the others are sent to the listeners If the selector is null or empty it matches to true with all messages. |