Package org.apache.activemq.filter
Class NoLocalExpression
- java.lang.Object
-
- org.apache.activemq.filter.NoLocalExpression
-
- All Implemented Interfaces:
BooleanExpression
,Expression
public class NoLocalExpression extends Object implements BooleanExpression
-
-
Constructor Summary
Constructors Constructor Description NoLocalExpression(String connectionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(MessageEvaluationContext message)
boolean
matches(MessageEvaluationContext message)
-
-
-
Constructor Detail
-
NoLocalExpression
public NoLocalExpression(String connectionId)
-
-
Method Detail
-
matches
public boolean matches(MessageEvaluationContext message) throws JMSException
- Specified by:
matches
in interfaceBooleanExpression
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
JMSException
-
evaluate
public Object evaluate(MessageEvaluationContext message) throws JMSException
- Specified by:
evaluate
in interfaceExpression
- Returns:
- the value of this expression
- Throws:
JMSException
-
-