Class Selector
- java.lang.Object
-
- org.objectweb.joram.shared.selectors.Selector
-
public class Selector extends Object
TheSelectorclass is used for filtering messages according to their header fields and properties.
-
-
Constructor Summary
Constructors Constructor Description Selector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanchecks(String selector)Clients call this method to check a selector syntax.static booleanmatches(Message message, String selector)Destinations call this method to filter a message according to a selector.
-
-
-
Method Detail
-
checks
public static boolean checks(String selector) throws SelectorException
Clients call this method to check a selector syntax.- Returns:
truewhen the syntax is ok.- Throws:
SelectorException- When the selector syntax is incorrect.
-
-