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
public abstract class DestinationFilter
- extends java.lang.Object
- implements BooleanExpression
Represents a filter which only operates on Destinations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY_DESCENDENT
public static final java.lang.String ANY_DESCENDENT
- See Also:
- Constant Field Values
ANY_CHILD
public static final java.lang.String ANY_CHILD
- See Also:
- Constant Field Values
DestinationFilter
public DestinationFilter()
evaluate
public java.lang.Object evaluate(MessageEvaluationContext message)
throws javax.jms.JMSException
- Specified by:
evaluate
in interface Expression
- Returns:
- the value of this expression
- Throws:
javax.jms.JMSException
matches
public boolean matches(MessageEvaluationContext message)
throws javax.jms.JMSException
- Specified by:
matches
in interface BooleanExpression
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
javax.jms.JMSException
matches
public abstract boolean matches(ActiveMQDestination destination)
parseFilter
public static DestinationFilter parseFilter(ActiveMQDestination destination)
Copyright © 2005-2016. All Rights Reserved.