Package com.swiftmq.ms
Class MessageSelector
java.lang.Object
com.swiftmq.ms.MessageSelector
- All Implemented Interfaces:
Selector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile()
Returns the condition string in SQL92 syntaxboolean
isSelected
(MessageImpl message) Returns true if the message matches the selector criteriatoString()
-
Constructor Details
-
MessageSelector
-
-
Method Details
-
getConditionString
Description copied from interface:Selector
Returns the condition string in SQL92 syntax- Specified by:
getConditionString
in interfaceSelector
- Returns:
- condition string
-
compile
public void compile() throws javax.jms.InvalidSelectorException- Throws:
javax.jms.InvalidSelectorException
-
isSelected
Description copied from interface:Selector
Returns true if the message matches the selector criteria- Specified by:
isSelected
in interfaceSelector
- Parameters:
message
- the message- Returns:
- true if the message matches
-
toString
-