Package com.swiftmq.ms
Class MessageSelector
- java.lang.Object
-
- com.swiftmq.ms.MessageSelector
-
-
Constructor Summary
Constructors Constructor Description MessageSelector(java.lang.String conditionString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompile()java.lang.StringgetConditionString()Returns the condition string in SQL92 syntaxbooleanisSelected(MessageImpl message)Returns true if the message matches the selector criteriajava.lang.StringtoString()
-
-
-
Method Detail
-
getConditionString
public java.lang.String getConditionString()
Description copied from interface:SelectorReturns the condition string in SQL92 syntax- Specified by:
getConditionStringin interfaceSelector- Returns:
- condition string
-
compile
public void compile() throws jakarta.jms.InvalidSelectorException- Throws:
jakarta.jms.InvalidSelectorException
-
isSelected
public boolean isSelected(MessageImpl message)
Description copied from interface:SelectorReturns true if the message matches the selector criteria- Specified by:
isSelectedin interfaceSelector- Parameters:
message- the message- Returns:
- true if the message matches
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-