Package org.apache.activemq.filter
Class XQueryExpression
java.lang.Object
org.apache.activemq.filter.XQueryExpression
- All Implemented Interfaces:
BooleanExpression,Expression
Used to evaluate an XQuery Expression in a JMS selector.
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(MessageEvaluationContext message) booleanmatches(MessageEvaluationContext message) toString()
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
toString
-
matches
- Specified by:
matchesin interfaceBooleanExpression- Parameters:
message-- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-