public class Selector extends Object
Selector
class is used for filtering messages according
to their header fields and properties.Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checks(String selector)
Clients call this method to check a selector syntax.
|
static boolean |
matches(Message message,
String selector)
Destinations call this method to filter a message according to a selector.
|
public static boolean checks(String selector) throws SelectorException
true
when the syntax is ok.SelectorException
- When the selector syntax is incorrect.Copyright © 2023 ScalAgent D.T.. All rights reserved.