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.

Version:
$Revision: 1.2 $

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

Method Detail

matches

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


Copyright © 2009 Apache Software Foundation. All Rights Reserved.