Package com.swiftmq.swiftlet.queue
Interface Selector
-
- All Known Implementing Classes:
MessageSelector
,MessageSelector
public interface Selector
Interface for message selectors- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getConditionString()
Returns the condition string in SQL92 syntaxboolean
isSelected(MessageImpl message)
Returns true if the message matches the selector criteria
-
-
-
Method Detail
-
getConditionString
java.lang.String getConditionString()
Returns the condition string in SQL92 syntax- Returns:
- condition string
-
isSelected
boolean isSelected(MessageImpl message)
Returns true if the message matches the selector criteria- Parameters:
message
- the message- Returns:
- true if the message matches
-
-