List of all members.
Detailed Description
This object is a message selector. It owns an SQL92 string describing an SQL statement and checkes if a message matches with that statement. To enhance the response time of the process, it uses ValueProvider method of selector.
- See also:
- JMS specifications for further details
- Author:
- acaproni
Constructor & Destructor Documentation
com.cosylab.acs.jms.ACSJMSMessageSelector.ACSJMSMessageSelector |
( |
String |
sqlSelectorString |
) |
throws InvalidSelectorException |
Member Function Documentation
String com.cosylab.acs.jms.ACSJMSMessageSelector.getSelectorString |
( |
|
) |
|
boolean com.cosylab.acs.jms.ACSJMSMessageSelector.match |
( |
ACSJMSMessage |
message |
) |
|
Check if the message matches with the SQL selector string. The test passes also if the string is empty or null.
- Parameters:
-
| message | The message to check |
- Returns:
- true if the message matches with the string false otherwise
Referenced by com.cosylab.acs.jms.ACSJMSConsumer.receive().
void com.cosylab.acs.jms.ACSJMSMessageSelector.setSelectorString |
( |
String |
newSQLSelString |
) |
throws InvalidSelectorException |
The documentation for this class was generated from the following file: