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 boolean
abstract boolean
matches
(ActiveMQDestination destination) boolean
matches
(MessageEvaluationContext message) static DestinationFilter
parseFilter
(ActiveMQDestination destination)
-
Field Details
-
ANY_DESCENDENT
- See Also:
-
ANY_CHILD
- See Also:
-
-
Constructor Details
-
DestinationFilter
public DestinationFilter()
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceExpression
- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
matches
- Specified by:
matches
in interfaceBooleanExpression
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-
matches
-
parseFilter
-
isWildcard
public abstract boolean isWildcard()
-