org.apache.activemq.filter
Interface BooleanExpression

All Superinterfaces:
Expression
All Known Implementing Classes:
ComparisonExpression, CompositeDestinationFilter, DestinationFilter, LogicExpression, NetworkBridgeFilter, NoLocalExpression, PrefixDestinationFilter, SimpleDestinationFilter, WildcardDestinationFilter, XPathExpression, XQueryExpression

public interface BooleanExpression
extends Expression

A BooleanExpression is an expression that always produces a Boolean result.


Method Summary
 boolean matches(MessageEvaluationContext message)
           
 
Methods inherited from interface org.apache.activemq.filter.Expression
evaluate
 

Method Detail

matches

boolean matches(MessageEvaluationContext message)
                throws JMSException
Parameters:
message -
Returns:
true if the expression evaluates to Boolean.TRUE.
Throws:
JMSException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.