Package org.apache.activemq.filter
Class DestinationFilter
java.lang.Object
org.apache.activemq.filter.DestinationFilter
- All Implemented Interfaces:
BooleanExpression,Expression
- Direct Known Subclasses:
CompositeDestinationFilter,PrefixDestinationFilter,SimpleDestinationFilter,WildcardDestinationFilter
Represents a filter which only operates on Destinations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(MessageEvaluationContext message) abstract booleanabstract booleanmatches(ActiveMQDestination destination) booleanmatches(MessageEvaluationContext message) static DestinationFilterparseFilter(ActiveMQDestination destination)
-
Field Details
-
ANY_DESCENDENT
- See Also:
-
ANY_CHILD
- See Also:
-
-
Constructor Details
-
DestinationFilter
public DestinationFilter()
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
matches
- Specified by:
matchesin interfaceBooleanExpression- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-
matches
-
parseFilter
-
isWildcard
public abstract boolean isWildcard()
-